Weapons and Armor are now stored like any other item on the PC. Added equip/unequip logic.

This commit is contained in:
WBHarry 2025-05-25 20:56:11 +02:00
parent 71319f2b74
commit 8e92b5f6d9
13 changed files with 121 additions and 70 deletions

View file

@ -88,7 +88,7 @@
</div>
<div class="body-section flex3">
{{> "systems/daggerheart/templates/sheets/parts/attributes.hbs" }}
{{> "systems/daggerheart/templates/sheets/parts/weapons.hbs" weapons=document.system.activeWeapons proficiency=document.system.proficiency.value }}
{{> "systems/daggerheart/templates/sheets/parts/weapons.hbs" weapons=document.system.equippedWeapons proficiency=document.system.proficiency.value }}
{{> "systems/daggerheart/templates/sheets/parts/armor.hbs" armor=document.system.armor }}
{{> "systems/daggerheart/templates/sheets/parts/inventory.hbs" weapons=document.system.inventoryWeapons }}
</div>