{{#if equippedWeapons.length}}
  <div class="equipped-gear">
    <h4 class="item-name flexrow">{{ localize 'ITEMS.weapons'}}</h4>
    <ol class="items-list">
      {{#each equippedWeapons as |item|}}
        <li
          class="item flexrow flex-group-center align-center"
          data-item-id="{{item._id}}"
        >
          <div class="item-name flexrow" style="flex:4;">
            <div class="item-image">
              <a data-action="roll"><img
                  src="{{item.img}}"
                  title="{{item.name}}"
                  width="24"
                  height="24"
                /></a>
            </div>
            <a data-action="roll">{{item.name}}</a>
          </div>
          <div style="flex:1;"><a data-action="attack" title="{{ localize 'VERMINE.attack' }}"><i class="fas fa-crosshairs"></i></a></div>
          <div style="flex:2;"><a data-action="edit" title="Edit Item">
            {{#if item.system.damage.addVigor}}
              {{localize 'ADVERSITY.vigor'}}+
            {{/if}}
            {{item.system.damage.value}}
            ({{item.system.damage.type}})
          </a></div>
          <div style="flex:2;">{{#if item.system.skill}}{{ smarttlk 'SKILLS' item.system.skill 'name' }}{{/if}}</div>
          <div class="item-controls">
            <a data-action="toggleEquip" data-item-id="{{item._id}}"
              title="{{#if item.system.equipped}}{{ localize 'VERMINE.unequip'}}{{else}}{{ localize 'VERMINE.equip'}}{{/if}}"><i
                class="fas {{#if item.system.equipped}}fa-circle-check{{else}}fa-circle{{/if}}"></i></a>
          </div>
        </li>
      {{/each}}
    </ol>
  </div>
{{/if}}

{{#if equippedDefenses.length}}
  <div class="equipped-gear">
    <h4 class="item-name flexrow">{{ localize 'ITEMS.defenses'}}</h4>
    <ol class="items-list">
      {{#each equippedDefenses as |item|}}
        <li
          class="item flexrow flex-group-center align-center"
          data-item-id="{{item._id}}"
        >
          <div class="item-name flexrow" style="flex:4;">
            <div class="item-image">
              <a data-action="roll"><img
                  src="{{item.img}}"
                  title="{{item.name}}"
                  width="24"
                  height="24"
                /></a>
            </div>
            <a data-action="edit" title="Edit Item">{{item.name}}</a>
          </div>
          <div style="flex:2;"><a data-action="edit" title="Edit Item">{{item.system.level}}</a></div>
          <div style="flex:2;"><a data-action="edit" title="Edit Item">
            {{#if item.system.isShield}}{{ localize 'ITEMS.shield' }}{{/if}}
          </a></div>
        </li>
      {{/each}}
    </ol>
  </div>
{{/if}}
