{{!-- {{> '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 item.usable}} {{#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 --}} {{#if (not ../hideTags)}} {{#> "systems/daggerheart/templates/sheets/global/partials/item-tags.hbs" item}} {{#if (eq ../type 'feature')}} {{#if (and system.featureForm (or (eq @root.document.type "adversary") (eq @root.document.type "environment")))}}
    {{localize (concat "DAGGERHEART.CONFIG.FeatureForm." system.featureForm)}}
    {{/if}} {{/if}} {{/ "systems/daggerheart/templates/sheets/global/partials/item-tags.hbs"}} {{/if}} {{!--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 (or isQuantifiable (or (eq item.system.quantity 0) (gt item.system.quantity 1)))}}
    {{/if}} {{!-- Controls --}} {{#unless hideControls}}
    {{!-- Toggle/Equip buttons --}} {{#if @root.editable}} {{#if (and (eq actorType 'character') (eq type 'weapon'))}} {{/if}} {{#if (and (eq actorType 'character') (eq type 'armor'))}} {{/if}} {{#if (and (eq type 'domainCard'))}} {{/if}} {{#if (and (and (eq type 'effect') (not (eq item.type 'beastform'))))}} {{/if}} {{/if}} {{!-- Send to Chat --}} {{#if (hasProperty item "toChat")}} {{/if}} {{!-- Document management buttons or context menu --}} {{#if (and (not isActor) (not hideContextMenu))}} {{else if @root.editable}} {{#if (not isActor)}} {{else if (eq type 'adversary')}} {{/if}} {{/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}}