|
<div class="sidebar_title">
|
|
<h2>
|
|
{{localize "PF2E.HitPointsHeader"}}
|
|
</h2>
|
|
</div>
|
|
<div class="hitpoints">
|
|
<div class="hp-big">
|
|
<div class="container temp-hp" title="{{localize "PF2E.ShieldBrokenThresholdLabel"}}">
|
|
<span for="data.attributes.hp.brokenThreshold" class="sidebar_label">{{localize "PF2E.vehicle.BrokenThresholdShortLabel"}}</span>
|
|
<div class="data-value">
|
|
<h2>{{data.attributes.hp.brokenThreshold}}</h2>
|
|
</div>
|
|
</div>
|
|
<div class="container current-hp" title="{{localize "PF2E.vehicle.CurrentHPTitle"}}">
|
|
<label for="{{options.id}}-vehicle-hp-temp" class="sidebar_label">{{localize "PF2E.CurrentHitPointsShortLabel"}}</label>
|
|
<div class="data-value">
|
|
<input id="{{options.id}}-vehicle-hp-temp" name="system.attributes.hp.value" type="number" value="{{data.attributes.hp.value}}" data-dtype="Number" placeholder="0" size="1"/>
|
|
</div>
|
|
</div>
|
|
<div class="container max-hp" title="{{localize "PF2E.vehicle.MaxHPTitle"}}">
|
|
<label for="{{options.id}}-vehicle-hp-max" class="sidebar_label">{{localize "PF2E.MaxHitPointsShortLabel"}}</label>
|
|
<div class="data-value">
|
|
<input id="{{options.id}}-vehicle-hp-max" data-property="system.attributes.hp.max" type="number" value="{{data.attributes.hp.max}}" placeholder="0" size="1" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="sidebar_title">
|
|
<h2>{{localize "PF2E.ArmorClassLabel"}}</h2>
|
|
</div>
|
|
<div class="armor-class">
|
|
<div class="shield ac" title="{{localize "PF2E.ArmorClassLabel"}}">
|
|
<div class="data-value">
|
|
<input id="{{options.id}}-vehicle-ac" class="adjustable {{ac.adjustmentClass}}" data-property="system.attributes.ac.value" type="number" value="{{ac.value}}" data-dtype="Number" placeholder="10" size="1"/>
|
|
</div>
|
|
<label for="{{options.id}}-vehicle-ac" class="sidebar_label">{{localize "PF2E.ArmorClassShortLabel"}}</label>
|
|
</div>
|
|
<div class="shield hardness" title="{{localize "PF2E.vehicle.HardnessLabel"}}">
|
|
<div class="data-value">
|
|
<input
|
|
id="{{options.id}}-vehicle-hardness"
|
|
type="number"
|
|
data-dtype="Number"
|
|
placeholder="0"
|
|
data-property="system.attributes.hardness"
|
|
value="{{data.attributes.hardness}}"
|
|
/>
|
|
</div>
|
|
<label for="{{options.id}}-vehicle-hardness" class="sidebar_label">{{localize "PF2E.vehicle.HardnessShortLabel"}}</label>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="sidebar_title">
|
|
<h2>{{localize "PF2E.SavesHeader"}}</h2>
|
|
</div>
|
|
<ul class="sidebar-saves">
|
|
<li class="roll-data" data-save="fortitude">
|
|
<h2 class="sidebar_label">{{localize "PF2E.SavesFortitude"}}</h2>
|
|
<div class="save-roll">
|
|
{{#if options.editable}}
|
|
<a class="roll-icon save-name">
|
|
{{> "systems/pf2e/templates/actors/character/icons/d20.hbs"}}
|
|
</a>
|
|
{{/if}}
|
|
<input class="adjustable {{saves.fortitude.adjustmentClass}}" data-property="system.saves.fortitude.value" type="number" value="{{saves.fortitude.value}}" placeholder="0" />
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
|
|
<div class="sidebar_title"><h2>{{localize "PF2E.ImmunitiesLabel"}}</h2></div>
|
|
<ol class="immunities tags">
|
|
{{#each data.attributes.immunities as |immunity|}}
|
|
<li class="tag tag_secondary" data-immunity="{{immunity.type}}">{{immunity.label}}</li>
|
|
{{/each}}
|
|
{{#if options.editable}}
|
|
<li class="tag edit-btn">
|
|
<a data-action="edit-immunities" title="{{localize "PF2E.NPC.EditImmunities"}}"><i class="fa-solid fa-edit"></i></a>
|
|
</li>
|
|
{{/if}}
|
|
</ol>
|
|
|
|
<div class="sidebar_title"><h2>{{localize "PF2E.WeaknessesLabel"}}</h2></div>
|
|
<ol class="weaknesses tags">
|
|
{{#each data.attributes.weaknesses as |weakness|}}
|
|
<li class="tag tag_secondary" data-weakness="{{weakness.type}}">{{weakness.label}}</li>
|
|
{{/each}}
|
|
{{#if options.editable}}
|
|
<li class="tag edit-btn">
|
|
<a data-action="edit-weaknesses" title="{{localize "PF2E.NPC.EditWeaknesses"}}"><i class="fa-solid fa-edit"></i></a>
|
|
</li>
|
|
{{/if}}
|
|
</ol>
|
|
|
|
<div class="sidebar_title">
|
|
<h2>{{localize "PF2E.ResistancesLabel"}}</h2>
|
|
</div>
|
|
<ol class="resistances tags">
|
|
{{#each data.attributes.resistances as |resistance|}}
|
|
<li class="tag tag_secondary" data-resistance="{{resistance.type}}">{{resistance.label}}</li>
|
|
{{/each}}
|
|
{{#if options.editable}}
|
|
<li class="tag edit-btn">
|
|
<a data-action="edit-resistances" title="{{localize "PF2E.NPC.EditResistances"}}"><i class="fa-solid fa-edit"></i></a>
|
|
</li>
|
|
{{/if}}
|
|
</ol>
|
|
|