{{!-- {{> 'daggerheart.inventory-item' }} Parameters: - type {string} : The type of items in the list - isActor {boolean} : Passed through to inventory-item partials. - actorType {boolean} : The actor type of the parent actor - categoryAdversary {string} : Category adversary id. - noExtensible {boolean} : If true, the inventory-item-content would be collapsable/extendible else it always be showed - hideLabels {boolean} : If true, hide label-tags else show label-tags. - hideTags {boolean} : If true, hide simple-tags else show simple-tags. - hideTooltip {boolean} : If true, disables the tooltip on the item image. - hideControls {boolean} : If true, hides the controls inside inventory-item partials. - hideDescription {boolean} : If true, hides the item's description. - hideResources {boolean} : If true, hides the item's resources. - showActions {boolean} : If true show feature's actions. --}}
  • {{!-- Image --}}
    {{#if (or item.system.actionsList.size item.system.actionsList.length item.actionType)}} {{#if @root.isNPC}} d20 {{else}} 2d12 {{/if}} {{/if}}
    {{!-- Name & Tags --}}
    {{!-- Item Name --}} {{localize item.name}} {{#unless (or noExtensible (not item.system.description))}}{{/unless}} {{!-- Tags Start --}} {{#with item}} {{#if (not ../hideTags)}}
    {{#each this._getTags as |tag|}}
    {{tag}}
    {{/each}}
    {{/if}} {{/with}} {{!--Tags End --}}
    {{!-- Simple Resource --}} {{#if (and (not hideResources) (eq item.system.resource.type 'simple'))}} {{> "systems/daggerheart/templates/sheets/global/partials/item-resource.hbs"}} {{/if}} {{#if (and (not hideResources) (gte item.system.quantity 0))}}
    {{/if}} {{!-- Controls --}} {{#unless hideControls}}
    {{#if isActor}} {{#if (eq type 'adversary')}} {{/if}} {{#if (eq type 'character')}} {{/if}} {{else}} {{#unless (eq actorType 'party')}} {{#if (eq type 'weapon')}} {{else if (eq type 'armor')}} {{/if}} {{else}} {{/unless}} {{#if (eq type 'domainCard')}} {{else if (eq type 'effect')}} {{/if}} {{#if (and (hasProperty item "toChat") (not (eq actorType 'party')))}} {{/if}} {{#unless hideContextMenu}} {{/unless}} {{/if}}
    {{/unless}}
    {{!-- Description --}} {{#unless hideDescription}}
    {{/unless}}
    {{!-- Dice Resource --}} {{#if (and (not hideResources) (eq item.system.resource.type 'diceValue'))}} {{> "systems/daggerheart/templates/sheets/global/partials/item-resource.hbs"}} {{/if}} {{!-- Actions Buttons --}} {{#if (and showActions (eq item.type 'feature'))}}
    {{#each item.system.actions as | action |}}
    {{#if action.uses.max}}
    {{/if}}
    {{/each}}
    {{/if}}