76 lines
3.6 KiB
HTML
76 lines
3.6 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}}">
|
|
<h4 class="stat-text-white stat-margin"><a class="roll-stat stat-margin"
|
|
data-stat-key="{{key}}">{{upper stat.abbrev}}</a></h4>
|
|
</span>
|
|
<select class="status-small-label color-class-common" type="text" name="system.statistics.{{key}}.level"
|
|
value="{{stat.level}}" data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}}>
|
|
{{#select stat.level}}
|
|
{{{@root.optionsDiceList}}}
|
|
{{/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" type="text" name="system.statistics.{{key}}.currentlevel"
|
|
value="{{stat.currentlevel}}" data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}}>
|
|
{{#select stat.currentlevel}}
|
|
{{{@root.optionsLevel}}}
|
|
{{/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}}>
|
|
{{#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}}">Av NRG</span>
|
|
<input type="text" class="input-numeric-short" name="system.statistics.{{key}}.avgnrg" value="{{stat.avgnrg}}" data-dtype="Number" />
|
|
<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" />
|
|
</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> |