{{#unless hasInventory}}

{{localize 'CoC7.InventoryIsCurrentlyEmpty'}}

{{/unless}}
  1. {{#if showInventoryItems}}
    1. {{localize 'CoC7.Items'}}

      {{#unless data.system.flags.locked}}
      {{localize 'CoC7.AddItem'}}
      {{/unless}}
    2. {{#each itemsByType.item as |item id|}}
    3. {{#unless (eq system.quantity 1)}}{{system.quantity}} x {{/unless}}{{item.name}}

    4. {{/each}}
    {{/if}} {{#if showInventoryBooks}}
    1. {{localize 'CoC7.Books'}}

      {{#unless data.system.flags.locked}}
      {{localize 'CoC7.AddBook'}}
      {{/unless}}
    2. {{#each itemsByType.book as |item id|}}
    3. {{item.name}}

    4. {{/each}}
    {{/if}} {{#if showInventorySpells}}
    1. {{localize 'CoC7.Spells'}}

      {{#unless data.system.flags.locked}}
      {{localize 'CoC7.AddSpell'}}
      {{/unless}}
    2. {{#each itemsByType.spell as |item id|}}
    3. {{item.name}}

    4. {{/each}}
    {{/if}} {{#if showInventoryTalents}}
    1. {{localize 'CoC7.PulpTalents'}}

    2. {{#each itemsByType.talent as |item id|}}
    3. {{item.name}}

    4. {{/each}}
    {{/if}} {{#if showInventoryWeapons}}
    1. {{localize 'CoC7.Weapons'}}

      {{#unless data.system.flags.locked}}
      {{localize 'CoC7.AddWeapon'}}
      {{/unless}}
    2. {{#each itemsByType.weapon as |item id|}}
    3. {{item.name}}

    4. {{/each}}
    {{/if}} {{#if showInventoryArmor}}
    1. {{localize 'CoC7.Armor'}}

      {{#unless data.system.flags.locked}}
      {{localize 'CoC7.AddArmor'}}
      {{/unless}}
    2. {{#each itemsByType.armor as |item id|}}
    3. {{item.name}}

    4. {{/each}}
    {{/if}} {{#if showInventoryStatuses}}
    1. {{localize 'CoC7.Status'}}

    2. {{#each itemsByType.status as |item id|}}
    3. {{item.name}}

      {{#if ../isKeeper}} {{/if}}
    4. {{/each}}
    {{/if}}