Add ability to sort inventories in player and party sheets

This commit is contained in:
Carlos Fernandez 2025-12-02 03:40:28 -05:00
parent 8f917c3640
commit 71ee9a0065
6 changed files with 86 additions and 143 deletions

View file

@ -27,7 +27,7 @@
{{> 'daggerheart.inventory-items'
title='TYPES.Item.weapon'
type='weapon'
collection=document.itemTypes.weapon
collection=@root.inventory.weapons
isGlassy=true
canCreate=true
hideResources=true
@ -35,7 +35,7 @@
{{> 'daggerheart.inventory-items'
title='TYPES.Item.armor'
type='armor'
collection=document.itemTypes.armor
collection=@root.inventory.armor
isGlassy=true
canCreate=true
hideResources=true
@ -43,14 +43,14 @@
{{> 'daggerheart.inventory-items'
title='TYPES.Item.consumable'
type='consumable'
collection=document.itemTypes.consumable
collection=@root.inventory.consumables
isGlassy=true
canCreate=true
}}
{{> 'daggerheart.inventory-items'
title='TYPES.Item.loot'
type='loot'
collection=document.itemTypes.loot
collection=@root.inventory.loot
isGlassy=true
canCreate=true
showActions=true

View file

@ -52,7 +52,7 @@
title='TYPES.Item.weapon'
type='weapon'
actorType='party'
collection=document.itemTypes.weapon
collection=@root.inventory.weapons
isGlassy=true
canCreate=true
hideResources=true
@ -62,7 +62,7 @@
title='TYPES.Item.armor'
type='armor'
actorType='party'
collection=document.itemTypes.armor
collection=@root.inventory.armor
isGlassy=true
canCreate=true
hideResources=true
@ -72,7 +72,7 @@
title='TYPES.Item.consumable'
type='consumable'
actorType='party'
collection=document.itemTypes.consumable
collection=@root.inventory.consumables
isGlassy=true
canCreate=true
hideContextMenu=true
@ -81,7 +81,7 @@
title='TYPES.Item.loot'
type='loot'
actorType='party'
collection=document.itemTypes.loot
collection=@root.inventory.loot
isGlassy=true
canCreate=true
hideContextMenu=true