{{!-- Portrait --}}
{{!-- TRAITS --}}
{{#if (eq document.alliance "party")}} {{localize "PF2E.Kingmaker.Army.Alliance.Kingdom"}} {{else}} {{localize "PF2E.Kingmaker.Army.Alliance.Enemy"}} {{/if}} {{#if (and (eq document.alliance "party") (not linked))}} {{/if}}
{{!-- AC --}}

{{localize "PF2E.ArmorClassLabel"}}

{{!-- HP --}}

{{localize "PF2E.HitPointsShortLabel"}}

/
{{#each saves as |save|}} {{/each}}

{{localize "PF2E.Kingmaker.Army.Stats"}}

{{document.scouting.label}}
{{#if data.traits.senses.length}}
    {{#each data.traits.senses as |sense slug|}} {{#if sense.label}}
  1. {{sense.label}}
  2. {{/if}} {{/each}}
{{/if}}

{{localize "PF2E.Kingmaker.Army.Gear.Label"}}

{{localize "PF2E.Kingmaker.Army.Potions.Label"}} {{#if (eq @root.data.resources.potions.value 0)}} {{else if (gte @root.document.hitPoints.value @root.document.hitPoints.max)}} {{else}} {{/if}} {{#times @root.data.resources.potions.max as |idx|}} {{/times}} {{#if document.kingdom}} {{/if}}
{{localize "PF2E.Kingmaker.Army.Armor"}} {{#times 3}} {{/times}} {{#if document.kingdom}} {{/if}}
{{localize "PF2E.Kingmaker.Army.Strikes.melee"}} {{#times 3}} {{/times}} {{#if document.kingdom}} {{/if}}
{{localize "PF2E.Kingmaker.Army.Strikes.ranged"}} {{#times 3}} {{/times}} {{#if document.kingdom}} {{/if}}
{{localize "PF2E.Kingmaker.Army.Description"}} {{#if @root.options.editable}}
{{/if}}
{{editor data.details.description target="system.details.description" button=true owner=owner editable=editable}}
{{#if toggles}}
{{> "systems/pf2e/templates/actors/partials/toggles.hbs" toggles=toggles}}
{{/if}}
{{localize "PF2E.Kingmaker.Army.Strikes.Label"}} {{#if document.strikes.ranged}}
( {{localize "PF2E.Kingmaker.Army.Ammunition"}} {{#times @root.data.resources.ammunition.max}} {{/times}} )
{{/if}}
{{#unless (or document.strikes.melee document.strikes.ranged)}}

{{localize "PF2E.Kingmaker.Army.Strikes.None"}}

{{/unless}} {{#each document.strikes as |strike type|}}
{{#if (eq type "melee")}} {{else}} {{/if}} {{#each strike.variants as |variant index|}} {{/each}}
{{/each}}
{{localize "PF2E.ConditionsLabel"}}
    {{#each document.itemTypes.effect as |effect|}}
  1. {{effect.name}}

    {{effect.name}}

    {{#if (and (eq effect.type "effect") (eq effect.badge.type "counter"))}} ({{coalesce effect.badge.label effect.badge.value}}) {{/if}} {{#if (eq effect.type "condition")}}{{#unless effect.active}} (Inactive){{/unless}}{{/if}}
    {{#if (and @root.options.editable (not effect.readonly))}} {{#if (eq effect.badge.type "counter")}} {{/if}} {{#if (eq effect.type "effect")}} {{/if}} {{else if effect.readonly}} {{/if}}
  2. {{/each}}
{{localize "PF2E.Kingmaker.Army.BasicWarActions"}}
    {{#each basicWarActions as |action|}}
  1. {{action.name}}

    {{action.name}}

  2. {{/each}}
{{#if warActions.length}}
{{localize "PF2E.Kingmaker.Army.TacticalWarActions"}}
    {{#each warActions as |action|}} {{> actionItem action=action}} {{/each}}
{{/if}}
{{localize "PF2E.Kingmaker.Army.Tactics"}}
    {{#each document.tactics.feats as |entry|}} {{> actionItem action=entry.feat slotId=entry.id}} {{/each}}
{{#if document.bonusTactics.feats.length}}
{{localize "PF2E.Kingmaker.Army.TacticsFree"}}
    {{#each document.bonusTactics.feats as |entry|}} {{> actionItem action=entry.feat slotId=entry.id}} {{/each}}
{{/if}}
{{#*inline "actionItem"}} {{#if action}}
  • {{action.name}}

    {{action.name}}

    {{#if action.system.frequency}}
    / {{action.system.frequency.max}} {{localize "PF2E.Frequency.per"}} {{localize (lookup @root.frequencies action.system.frequency.per)}}
    {{/if}} {{#if @root.options.editable}}
    {{#if action.granter}} {{else}} {{/if}}
    {{/if}}
  • {{else}}
  • {{localize "PF2E.EmptySlot"}}
  • {{/if}} {{/inline}}