{{!-- Sheet Header --}}
{{#if system.stats.combat.enabled}}
{{#if system.swarm.enabled}} {{ localize 'Mosh.Combat' }} {{ localize 'Mosh.SwarmWoundShort' }} {{else}} {{ localize 'Mosh.Combat' }} {{/if}}
{{/if}} {{#if system.stats.instinct.enabled}}
{{ localize 'Mosh.Instinct' }}
{{/if}} {{#if system.stats.speed.enabled}}
{{ localize 'Mosh.Speed' }}
{{/if}} {{#if system.stats.loyalty.enabled}}
{{ localize 'Mosh.Loyalty' }}
{{/if}} {{#if system.stats.armor.enabled}}
{{ localize 'Mosh.Armor' }}
{{/if}} {{#if system.stats.sanity.enabled}}
{{ localize 'Mosh.Sanity' }}
{{/if}}
{{ localize 'Mosh.Current' }}
{{ localize 'Mosh.Maximum' }}
{{#if system.settings.firstEdition}} {{else}} {{/if}}
{{ localize 'Mosh.Current' }}
{{ localize 'Mosh.Maximum' }}
{{system.stats.armor.mod}}
{{#if (compare 'str' system.stats.armor.cover '===' 'insignificant')}}
 5
{{/if}} {{#if (compare 'str' system.stats.armor.cover '===' 'light')}}
 10
{{/if}} {{#if (compare 'str' system.stats.armor.cover '===' 'heavy')}}
 20
{{/if}}
{{system.stats.armor.damageReduction}}
{{#if (compare 'str' system.stats.armor.cover '===' 'heavy')}}
 5
{{/if}}
{{ localize 'Mosh.ArmorPoints' }}
{{ localize 'Mosh.DMGReduction' }}


{{editor enriched.description target="system.description" button=true owner=owner editable=true}}
{{ localize 'Mosh.SpecialAbilities' }}
{{#each abilities as |ability id|}}
  • {{ability.name}}
    {{{ability.system.description}}}
  • {{/each}} {{ localize 'Mosh.Add' }}
    {{!-- Sheet Tab Navigation --}} {{!-- Sheet Body --}}
    {{!-- Biography Tab --}}
    {{editor enriched.biography target="system.biography" button=true editable=true}}
    {{!-- Notes Tab --}}
    {{editor enriched.notes target="system.notes" button=true editable=true}}
    {{!-- Owned Items Tab --}}
    {{#if system.settings.firstEdition}}
    1. {{ localize 'Mosh.ArmorName' }}
      {{ localize 'Mosh.AP' }}
      {{ localize 'Mosh.DR' }}
      {{ localize 'Mosh.Speed' }}
      {{ localize 'Mosh.Oxygen' }}
      {{ localize 'Mosh.Equipped' }}
    2. {{#each armors as |armor id|}}
    3. {{armor.name}}

      {{armor.system.armorPoints}}
      {{armor.system.damageReduction}}
      {{armor.system.speed}}
      {{#if armor.system.oxygenMax}}
      {{armor.system.oxygenCurrent}}/{{armor.system.oxygenMax}}
      {{else}}
      {{ localize 'Mosh.NA' }}
      {{/if}}
    4. {{/each}}
    {{else}}
    1. {{ localize 'Mosh.ArmorName' }}
      {{ localize 'Mosh.SaveBonus' }}
      {{ localize 'Mosh.Speed' }}
      {{ localize 'Mosh.Oxygen' }}
      {{ localize 'Mosh.Equipped' }}
    2. {{#each armors as |armor id|}}
    3. {{armor.name}}

      {{armor.system.armorPoints}}
      {{armor.system.speed}}
      {{#if armor.system.oxygenMax}}
      {{armor.system.oxygenCurrent}}/{{armor.system.oxygenMax}}
      {{else}}
      {{ localize 'Mosh.NA' }}
      {{/if}}
    4. {{/each}}
    {{/if}}
    1. {{ localize 'Mosh.ItemName' }}
      {{ localize 'Mosh.Quantity' }}
      {{#if system.settings.hideWeight}} {{else}}
      {{ localize 'Mosh.Weight' }}
      {{/if}}
      {{ localize 'Mosh.Value' }}
    2. {{#if system.settings.hideWeight}} {{#each gear as |item id|}}
    3. {{item.name}}

      {{item.system.quantity}}
      {{item.system.cost}}
    4. {{/each}} {{else}} {{#each gear as |item id|}}
    5. {{item.name}}

      {{item.system.quantity}}
      {{item.system.weight}}
      {{item.system.cost}}
    6. {{/each}} {{/if}}
    {{#unless system.settings.hideWeight}}
    {{ localize 'Mosh.CarryingCapacity' }}: {{system.weight.capacity}}
    {{ localize 'Mosh.CurrentWeight' }}: {{system.weight.current}}
    {{/unless}}
    {{!-- Owned Skills Tab --}}
    1. {{ localize 'Mosh.SkillName' }}
      {{ localize 'Mosh.SkillRank' }}
      {{ localize 'Mosh.SkillBonus' }}
    2. {{#each skills as |skill id|}}
    3. {{skill.name}}
      {{skill.system.rank}}
      {{skill.system.bonus}}
    4. {{/each}}
    {{#if system.settings.firstEdition}}
    {{ localize 'Mosh.SkillTraining' }}
    {{{system.xp.html}}}
    {{/if}}
    1. {{ localize 'Mosh.Condition' }}
      {{ localize 'Mosh.Severity' }}
      {{ localize 'Mosh.Treatment' }}
    2. {{#each conditions as |condition id|}}
    3. {{condition.name}}
      {{condition.system.severity}}
      {{#if condition.system.treatment.html}}
      {{{condition.system.treatment.html}}}
      {{else}}
      {{condition.name}}
      {{/if}}
    4. {{/each}}
    {{!-- Owned Weapons Tab --}}
    1. {{ localize 'Mosh.WeaponName' }}
      {{ localize 'Mosh.Damage' }}
      {{ localize 'Mosh.Ammo' }}
      {{ localize 'Mosh.Shots' }}
      {{ localize 'Mosh.Range' }}
    2. {{#each weapons as |weapon id|}}
    3. {{weapon.name}}
      {{#if weapon.system.antiArmor}}
      {{weapon.system.damage}} ({{ localize 'Mosh.AntiArmorAcronym' }})
      {{else}}
      {{weapon.system.damage}}
      {{/if}} {{#if weapon.system.useAmmo}}
      {{weapon.system.ammo}}
      {{else}}
      {{ localize 'Mosh.NA' }}
      {{/if}} {{#if weapon.system.useAmmo}} {{#if (compare 'int' weapon.system.curShots '===' weapon.system.shots)}} {{else}} {{/if}} {{else}}
      {{ localize 'Mosh.NA' }}
      {{/if}} {{#if weapon.system.ranges.value}}
      {{weapon.system.ranges.value}}
      {{else}}
      {{ localize 'Mosh.NA' }}
      {{/if}}
    4. {{/each}}