{{ localize "VERMINE.self_control"}} : {{@root.system.attributes.self_control.value}}/ {{@root.system.attributes.self_control.max}}

{{setVar "SCIndex" 1}}
{{#repeat 4 1 "row"}}
{{#repeat @row @root.SCIndex "case"}} {{log @root.SCIndex}}
{{#iflteq @row @root.system.attributes.self_control.max }} {{/iflteq}}
{{setVar "SCIndex" (math_add @root.SCIndex 1)}} {{/repeat}}
{{/repeat}}

{{ localize "VERMINE.effort"}} : {{@root.system.attributes.effort.value}}/ {{@root.system.attributes.effort.max}}

{{setVar "EffIndex" 1}}
{{#repeat 4 1 "row"}}
{{#repeat @row @root.EffIndex "case"}} {{log @root.EffIndex}}
{{#iflteq @row @root.system.attributes.effort.max }} {{/iflteq}}
{{setVar "EffIndex" (math_add @root.EffIndex 1)}} {{/repeat}}
{{/repeat}}

{{ localize "VERMINE.wounds.name"}}

{{ localize "UI.effects.name"}}

    {{#each effects as |section sid|}}
  1. {{#if (eq section.type 'temporary')}} {{localize "UI.effects.temporary" }} {{else if (eq section.type 'passive')}} {{localize "UI.effects.passive" }} {{else if (eq section.type 'inactive')}} {{localize "UI.effects.inactive" }} {{/if}}

    {{localize 'UI.source'}}
    {{localize 'UI.duration'}}
    1. {{#each section.effects as |effect|}}
    2. {{effect.sourceName}}
      {{effect.duration.label}}
    3. {{/each}}
    {{/each}}