mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-15 21:21:08 +01:00
Weapons and Armor are now stored like any other item on the PC. Added equip/unequip logic.
This commit is contained in:
parent
71319f2b74
commit
8e92b5f6d9
13 changed files with 121 additions and 70 deletions
|
|
@ -18,6 +18,9 @@
|
|||
{{item.name}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="flexrow">
|
||||
<button data-action="toggleEquipItem" id="{{item.id}}">{{localize "Equip"}}</button>
|
||||
</div>
|
||||
<div class="inventory-item-quantity spaced">
|
||||
<i data-action="itemQuantityDecrease" class="fa-solid fa-chevron-left icon-button {{#if (lte item.system.quantity 1)}}disabled{{/if}}"></i>
|
||||
<input type="text" data-item="system.quantity" value="{{item.system.quantity}}" data-dtype="Number" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue