{{!-- The parameters are: --}} {{!-- {Item[]} items - See actor.itemTypes. --}} {{!-- {boolean} wrap - Whether to wrap items in rows or not. --}}
{{#each items}}
{{#if system.lethal}} {{{@root.config.Icons.buttons.lethal}}} {{/if}} {{detailedName}}
{{#if system.special}}
{{system.special}}
{{/if}} {{!-- Weapons & Explosives --}} {{#if isOffensive}} {{#if (eq type "explosive")}}
{{localize "FLBR.Blast"}} {{localize "FLBR.D"}}{{system.blast}}
{{else if hasAttack}}
{{#each system.attacks}}
{{#if (eq damageType 1)}} {{{@root.config.Icons.buttons.crush}}}{{damage}} {{else if (eq damageType 2)}} {{{@root.config.Icons.buttons.pierce}}}{{damage}} {{else if (eq damageType 3)}} {{{@root.config.Icons.buttons.stress}}}{{damage}} {{else}} {{damage}} {{/if}}
{{#unless (eq crit 0)}} {{{@root.config.Icons.buttons.crit}}}{{localize "FLBR.D"}}{{crit}} {{/unless}}
{{#if (gt range.max 0)}} {{{@root.config.Icons.buttons.range}}}{{localize (lookup @root.config.ranges range.max)}} {{/if}}
{{/each}}
{{/if}} {{!-- Armors --}} {{else if system.armor includeZero=true}}
{{localize "TYPES.Item.armor"}} {{localize "FLBR.D"}}{{system.armor}}
{{/if}} {{#if system.description}} {{#unless isPhysical}}
{{{enrichDocumentName system.description}}}
{{/unless}} {{else if hasModifier}}
{{modifiersDescription}}
{{/if}}
{{!-- Item Controls --}}
{{else}}
{{localize "FLBR.InventoryNoItem"}}
{{/each}}