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

@ -1,12 +1,6 @@
<fieldset class="left-main-container armor-section active-item-section item-section">
<legend class="legend armor-container">
<span>{{localize "DAGGERHEART.Sheets.PC.Armor.Title"}}</span>
{{#if armor}}
<div data-action="viewObject" data-value="{{armor.uuid}}" class="active-item-label-chip">
<img src="{{armor.img}}" />
<button data-action="removeActiveItem" data-item="{{armor.uuid}}"><i class="fa-solid fa-x"></i></button>
</div>
{{/if}}
</legend>
<div class="active-item-container">