mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-22 07:23:37 +02:00
[Feature] Make all item types quantifiable in the party (#1808)
* Show notification when invalid item types are added to actors * Make all item types quantifiable in the party actor * Remove from comment * Use isInventoryItem to set quantity * Fix formatting
This commit is contained in:
parent
d9b322406d
commit
2fde61a1d5
12 changed files with 85 additions and 46 deletions
|
|
@ -39,6 +39,7 @@
|
|||
collection=@root.inventory.consumables
|
||||
isGlassy=true
|
||||
canCreate=true
|
||||
isQuantifiable=true
|
||||
}}
|
||||
{{> 'daggerheart.inventory-items'
|
||||
title='TYPES.Item.loot'
|
||||
|
|
@ -47,6 +48,7 @@
|
|||
isGlassy=true
|
||||
canCreate=true
|
||||
showActions=true
|
||||
isQuantifiable=true
|
||||
}}
|
||||
</div>
|
||||
</section>
|
||||
|
|
@ -29,6 +29,7 @@
|
|||
canCreate=true
|
||||
hideResources=true
|
||||
hideContextMenu=true
|
||||
isQuantifiable=true
|
||||
}}
|
||||
{{> 'daggerheart.inventory-items'
|
||||
title='TYPES.Item.armor'
|
||||
|
|
@ -39,6 +40,7 @@
|
|||
canCreate=true
|
||||
hideResources=true
|
||||
hideContextMenu=true
|
||||
isQuantifiable=true
|
||||
}}
|
||||
{{> 'daggerheart.inventory-items'
|
||||
title='TYPES.Item.consumable'
|
||||
|
|
@ -48,6 +50,7 @@
|
|||
isGlassy=true
|
||||
canCreate=true
|
||||
hideContextMenu=true
|
||||
isQuantifiable=true
|
||||
}}
|
||||
{{> 'daggerheart.inventory-items'
|
||||
title='TYPES.Item.loot'
|
||||
|
|
@ -57,6 +60,7 @@
|
|||
isGlassy=true
|
||||
canCreate=true
|
||||
hideContextMenu=true
|
||||
isQuantifiable=true
|
||||
}}
|
||||
</div>
|
||||
</section>
|
||||
Loading…
Add table
Add a link
Reference in a new issue