{{!-- {{> 'daggerheart.inventory-item' }} Parameters: - type {string} : The type of items in the list - isActor {boolean} : Passed through to inventory-item partials. - 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 --}}
    d20
    {{!-- Name & Tags --}}
    {{!-- Item Name --}} {{localize item.name}} {{#unless noExtensible}}{{/unless}} {{!-- Tags Start --}} {{#with item}} {{#if (not ../hideTags)}}
    {{#each this._getTags as |tag|}}
    {{tag}}
    {{/each}}
    {{else if (not ../hideLabels)}}
    {{#each this._getLabels as |label|}} {{ifThen label.value label.value label}} {{#each label.icons as |icon|}} {{/each}} {{#if (not @last)}} - {{/if}} {{/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) item.system.quantity)}}
    {{/if}} {{!-- Controls --}} {{#unless hideControls}}
    {{#if isActor}} {{#if (eq type 'adversary')}} {{/if}} {{else}} {{#if (eq type 'weapon')}} {{else if (eq type 'armor')}} {{else if (eq type 'domainCard')}} {{else if (eq type 'effect')}} {{/if}} {{#if (hasProperty item "toChat")}} {{/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}}