94 lines
4.3 KiB
HTML
94 lines
4.3 KiB
HTML
<li class="item flexrow list-item color-class-{{lower stat.abbrev}} item-stat-roll-vehicle" data-attr-key="{{key}}">
|
|
<div class="flexcol">
|
|
<div class="flexrow">
|
|
<span class="stat-icon">
|
|
<img class="stat-icon" src="systems/fvtt-pegasus-rpg/images/icons/icon_vehicle_{{stat.abbrev}}.webp">
|
|
</span>
|
|
<span class="stat-label stat-margin" name="{{key}}">
|
|
{{#if (eq key "ad")}}
|
|
<h4 class="stat-text-white stat-margin">{{upper stat.abbrev}}</h4>
|
|
{{else}}
|
|
<h4 class="stat-text-white stat-margin"><a class="roll-stat stat-margin"
|
|
data-stat-key="{{key}}">{{upper stat.abbrev}}</a></h4>
|
|
{{/if}}
|
|
</span>
|
|
<select class="status-small-label color-class-common" type="text" name="system.statistics.{{key}}.level"
|
|
value="{{stat.level}}" data-dtype="Number" disabled>
|
|
{{#select (add stat.level stat.bonuseffect)}}
|
|
{{#if (eq key "ad")}}
|
|
{{{@root.optionsLevel}}}
|
|
{{else}}
|
|
{{{@root.optionsDiceList}}}
|
|
{{/if}}
|
|
{{/select}}
|
|
</select>
|
|
</div>
|
|
<div class="flexrow stat-text-white">
|
|
<span class="stat-label stat-margin" name="{{key}}">Current level</span>
|
|
<select class="status-small-label color-class-common currentlevel-change" type="text" name="system.statistics.{{key}}.currentlevel"
|
|
value="{{stat.currentlevel}}" data-stat-key="{{key}}" data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}}>
|
|
{{#select stat.currentlevel}}
|
|
{{#if (eq key "ad")}}
|
|
{{{@root.optionsLevel}}}
|
|
{{else}}
|
|
{{{@root.optionsDiceList}}}
|
|
{{/if}}
|
|
{{/select}}
|
|
</select>
|
|
</div>
|
|
{{#if (eq key "man")}}
|
|
<div class="flexrow stat-text-white">
|
|
<span class="stat-label stat-margin" name="{{key}}">45° Turning Arcs</span>
|
|
<select class="status-small-label color-class-common" type="text" name="system.statistics.{{key}}.turningarc45"
|
|
value="{{stat.turningarc45}}" data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}} disabled>
|
|
{{#select stat.turningarc45}}
|
|
{{{@root.optionsLevel}}}
|
|
{{/select}}
|
|
</select>
|
|
</div>
|
|
{{/if}}
|
|
|
|
{{#if (eq key "hr")}}
|
|
<div class="flexrow stat-text-white">
|
|
<span class="stat-label stat-margin" name="{{key}}">Size</span>
|
|
<input type="text" class="input-numeric-short" name="system.statistics.{{key}}.size" value="{{stat.size}}" data-dtype="Number" />
|
|
</div>
|
|
{{/if}}
|
|
|
|
{{#if (eq key "pc")}}
|
|
<div class="flexrow stat-text-white">
|
|
<span class="stat-label stat-margin" name="{{key}}">Cur NRG</span>
|
|
<input type="text" class="input-numeric-short" name="system.statistics.{{key}}.curnrg" value="{{stat.curnrg}}" data-dtype="Number" />
|
|
<span class="padd-right status-small-label no-grow">
|
|
<a class="vehicle-current-nrg-plus plus-minus-button">+</a>
|
|
<a class="vehicle-current-nrg-minus plus-minus-button"> -</a>
|
|
</span>
|
|
<span class="stat-label stat-margin" name="{{key}}">Act NRG</span>
|
|
<input type="text" class="input-numeric-short" value="{{stat.actnrg}}" data-dtype="Number" disabled/>
|
|
<span class="stat-label stat-margin" name="{{key}}">Max NRG</span>
|
|
<input type="text" class="input-numeric-short" value="{{stat.maxnrg}}" data-dtype="Number" disabled />
|
|
</div>
|
|
{{/if}}
|
|
|
|
{{#if (eq key "ad")}}
|
|
<div class="flexrow stat-text-white">
|
|
<span class="stat-label stat-margin" name="{{key}}">Acc Mode</span>
|
|
<select class="status-small-label color-class-common" type="text" name="system.statistics.{{key}}.accmode"
|
|
value="{{stat.accmode}}" data-dtype="String" {{#unless @root.editScore}}disabled{{/unless}}>
|
|
{{#select stat.accmode}}
|
|
<option value="acc">ACC</option>
|
|
<option value="dec">DEC</option>
|
|
{{/select}}
|
|
</select>
|
|
<span class="stat-label stat-margin" name="{{key}}">Curr. speed</span>
|
|
<select class="status-small-label color-class-common current-speed-change" type="text" name="system.statistics.{{key}}.currentspeed"
|
|
value="{{stat.currentspeed}}" data-dtype="String" {{#unless @root.editScore}}disabled{{/unless}}>
|
|
{{#select stat.currentspeed}}
|
|
{{> systems/fvtt-pegasus-rpg/templates/partial-options-vehicle-speed.html}}
|
|
{{/select}}
|
|
</select>
|
|
</div>
|
|
{{/if}}
|
|
|
|
</div>
|
|
</li> |