{{#if isContainer}}
{{/if}}
{{item.name}}
{{#if (and @root.user.isGM (not item.isIdentified))}}({{item.system.identification.identified.name}}){{/if}}
{{#if itemSize}}({{itemSize}}){{/if}}
{{#if item.isTemporary}}{{/if}}
{{#if (and item.uses.max (or (gt item.uses.max 1) (eq item.category "wand")))}}
({{item.uses.value}}/{{item.uses.max}})
{{/if}}
{{#if (or @root.inventory.showValueAlways (and (eq item.type "treasure") (not item.container)))}}
{{#if (and @root.editable (eq item.system.category "credstick"))}}
–
{{/if}}
{{#if (or item.isIdentified @root.user.isGM)}}
{{#if @root.inventory.showUnitBulkPrice}}
{{unitPrice}}
{{#if (gt item.price.per 1)}}
/ {{item.price.per}}
{{/if}}
{{else}}
{{assetValue}}
{{/if}}
{{/if}}
{{#if (and @root.editable (eq item.system.category "credstick"))}}
+
{{/if}}
{{/if}}
{{#if (and canEditQuantity @root.editable (not isSubitem))}}
–
{{/if}}
{{item.quantity}}
{{#if (and canEditQuantity @root.editable (not isSubitem))}}
+
{{/if}}
{{#if @root.inventory.showUnitBulkPrice}}{{unitBulk}}{{else}}{{item.bulk}}{{/if}}
{{#if @root.editable}}
{{#if (and canBeEquipped isInvestable)}}
{{/if}}
{{#if (and isSubitem (or item.isIdentified @root.user.isGM))}}
{{else if (or (eq @root.actor.type "character") (eq @root.actor.type "npc"))}}
{{> equipIcon equipped=item.system.equipped}}
{{/if}}
{{#if item.isDamaged}}
{{/if}}
{{#if @root.user.isGM}}
{{#if item.isIdentified}}
{{else}}
{{/if}}
{{/if}}
{{#if (and isSellable (ne @root.actor.type "loot"))}}
{{/if}}
{{#if (and (eq item.type "weapon") (eq @root.actor.type "npc"))}}
{{/if}}
{{#if (or @root.user.isGM item.isIdentified)}}
{{/if}}
{{#if (or @root.owner (ne @root.actor.type "loot"))}}
{{/if}}
{{else if (ne @root.actor.type "loot")}}
{{#if (and canBeEquipped isInvestable)}}
{{/if}}
{{#unless item.isStowed}}
{{#if isSubitem}}
{{else if (not item.isStowed)}}
{{> equipIcon equipped=item.system.equipped}}
{{/if}}
{{/unless}}
{{/if}}
{{#if isContainer}}
{{/if}}
{{#if subitems.length}}