V13.8.4 Improved Templates
5e Item Importer v13.8.4
Foundry VTT Compatibility: v13+
D&D 5e System: 5.2.x+
This release is a documentation and template pass — no code changes. All seven strict YAML templates have been improved for LLM generation accuracy, and the README has been synced to match.
Improvements
- Stronger LLM instructions across all templates: Added an explicit rule that conditional sections (
ATTUNEMENT,MATERIALS,AREA,ARMOR, etc.) must be omitted entirely when their condition isn't met — not filled withn/a. Also clarified thatn/aapplies only to scalar field values, and addedeffects:to the list of sections to omit unless explicitly requested. SPELLadded to supported batch keys in all non-spell templates: You can now batch aSPELLtogether with aWEAPON,LOOT,EQUIPMENT, etc., in a single YAML block without switching templates. The batch key documentation in all six non-spell templates now lists all seven types.effects:section added to all templates: Each template now has an expliciteffects:section (distinct fromActivities:) with comments describing its purpose — passive Active Effects that are always-on mechanical modifications. Makes theSPELL/LOOT/WEAPONetc. templates compatible with the 5e-activity-importereffects:workflow without ambiguity.RECOVERYformat standardized (Weapon, Equipment, Consumable, Tool): TheRECOVERYblock now usesRECOVERY:[]with commented-out entries in all templates, matching the Spell template's established format. The previous dash-list format implied there was always a recovery entry;[]clearly signals the default empty state to LLMs.- README synced: The README's embedded template copies now match all of the above changes, plus previously missed additions from the prior release — the Loot template's
tradeloot type and the Spell template's spellcasting Ability override field and advancedAREAfields (Count,Width,Height,Contiguous).
Bug Fixes
- Fixed the README embedding for the Loot template missing the
tradetype from the Loot Type field options. - Fixed the README embedding for the Spell template missing the Ability override field in the ITEM section, and the
Count/Width/Height/Contiguousfields in theAREAsection. - Fixed
USAGEfields in Weapon/Equipment/Consumable/Tool README embeds showing[integer]instead of the correct[integer|n/a]with explanatory comments.