{{!-- {{> 'daggerheart.inventory-item' }} Parameters: - type {string} : The type of items in the list - isActor {boolean} : Passed through to inventory-item partials. - isItem {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}} {{!-- Feature Form Tag Start --}} {{#if (eq ../type 'feature')}} {{#if (or (eq @root.document.type 'adversary') (eq @root.document.type 'environment'))}} {{#if system.featureForm}}
    {{localize (concat "DAGGERHEART.CONFIG.FeatureForm." system.featureForm)}}
    {{/if}} {{/if}} {{/if}} {{!-- Feature Form Tag End --}}
    {{/if}} {{/with}} {{!--Tags End --}}
    {{!-- Simple Resource --}} {{#if (and (not hideResources) (not (eq item.system.resource.type 'diceValue')))}} {{> "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}} {{#if (eq type 'domainCard')}} {{else if (eq type 'effect')}} {{/if}} {{#if (hasProperty item "toChat")}} {{/if}} {{else}} {{/unless}} {{#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 item.system.actions.size)}}
    {{#each item.system.actions as | action |}}
    {{#if (and (eq action.type 'beastform') @root.beastformActive)}} {{else}} {{/if}} {{#if action.uses.max}}
    {{/if}}
    {{/each}}
    {{/if}}