forked from GitHub-Mirrors/foundry-sw5e
Integrate changes from the Prof
Received as-is changes from the Prof.
This commit is contained in:
parent
cacc43740e
commit
b3344ba8b9
19 changed files with 490 additions and 30 deletions
|
@ -53,10 +53,10 @@
|
|||
<section class="attribute health" style="box-sizing: border-box; width: 150px;">
|
||||
<h1 class="attribute-name rollable">{{ localize "SW5E.ShieldPoints" }}</h1>
|
||||
<div class="attribute-value multiple">
|
||||
<input name="data.attributes.hp.temp" type="text" value="{{data.attributes.hp.temp}}"
|
||||
<input name="data.attributes.hp.temp" type="text" value="{{round data.attributes.hp.temp}}"
|
||||
data-dtype="Number" placeholder="0" class="value-number" />
|
||||
<span class="value-separator">/</span>
|
||||
<input name="data.attributes.hp.tempmax" type="text" value="{{data.attributes.hp.tempmax}}"
|
||||
<input name="data.attributes.hp.tempmax" type="text" value="{{round data.attributes.hp.tempmax}}"
|
||||
data-dtype="Number" placeholder="0" class="value-number" />
|
||||
</div>
|
||||
<footer class="attribute-footer" style="line-height: 12px; height: 12px; text-align: center; font-family: 'Russo One';">
|
||||
|
@ -140,7 +140,10 @@
|
|||
<section class="panel resources">
|
||||
<h1>Resources and Traits</h1>
|
||||
<div class="traits">
|
||||
<!-- <label>
|
||||
<table style="border: none; background: none;">
|
||||
<tr>
|
||||
<td>
|
||||
<!-- <label>
|
||||
{{localize "SW5E.Size"}}
|
||||
<select class="actor-size" name="data.traits.size">
|
||||
{{#select data.traits.size}}
|
||||
|
@ -163,27 +166,79 @@
|
|||
</select>
|
||||
</label>
|
||||
<br /> -->
|
||||
<label>
|
||||
{{localize "SW5E.DmgRed"}}: <input class="hpformula" style="max-width:30px;" name="data.attributes.dr" value="{{data.attributes.dr}}" placeholder="0" />
|
||||
</label>
|
||||
<label>
|
||||
{{localize "SW5E.VehicleCargoCapacity"}}: {{data.attributes.cargcap}} tons
|
||||
</label>
|
||||
<br />
|
||||
<label>
|
||||
{{localize "SW5E.CrewCap"}}: {{data.attributes.crewcap}}
|
||||
</label>
|
||||
<br />
|
||||
<label>
|
||||
{{localize "SW5E.DmgRed"}}: <input class="hpformula" style="max-width:30px;" name="data.attributes.dr" value="{{data.attributes.dr}}" placeholder="0" />
|
||||
</label>
|
||||
<label>
|
||||
{{localize "SW5E.VehicleCargoCapacity"}}: {{data.attributes.cargcap}} tons
|
||||
</label>
|
||||
</td>
|
||||
<td>
|
||||
<label>
|
||||
{{localize "SW5E.CrewCap"}}: {{data.attributes.crewcap}}
|
||||
</label>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label>
|
||||
{{localize "SW5E.FuelCostPerUnit"}}: {{data.attributes.fuel.cost}} cr/unit
|
||||
</label>
|
||||
</td>
|
||||
<td>
|
||||
<button type="button" class="rest long-rest burnfuel" style="width:40%;" title="Burn 1 Unit of Fuel">{{ localize "SW5E.BurnFuel" }}</button>
|
||||
<button type="button" class="rest long-rest refuel" style="width:40%;" title="Refuel">{{ localize "SW5E.Refuel" }}</button>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<label>
|
||||
{{localize "SW5E.FuelCapacity"}}
|
||||
</label>
|
||||
{{#with data.attributes.fuel}}
|
||||
<div class="fuel-wrapper" title="Fuel">
|
||||
<div class="fuel {{#if fueled}}fueled{{/if}}">
|
||||
<span class="fuel-bar" style="width:{{pct}}%"></span>
|
||||
|
||||
<i class="fuel-breakpoint fuel-20 arrow-up"></i>
|
||||
<i class="fuel-breakpoint fuel-20 arrow-down"></i>
|
||||
<i class="fuel-breakpoint fuel-40 arrow-up"></i>
|
||||
<i class="fuel-breakpoint fuel-40 arrow-down"></i>
|
||||
<i class="fuel-breakpoint fuel-60 arrow-up"></i>
|
||||
<i class="fuel-breakpoint fuel-60 arrow-down"></i>
|
||||
<i class="fuel-breakpoint fuel-80 arrow-up"></i>
|
||||
<i class="fuel-breakpoint fuel-80 arrow-down"></i>
|
||||
</div>
|
||||
<span class="fuel-label">{{value}} / {{cap}} units</span>
|
||||
</div>
|
||||
{{/with}}
|
||||
<!-- <label>
|
||||
{{localize "SW5E.CentStorageCapacity"}}: <input class="hpformula" style="max-width:30px;" name="data.attributes.cscap" value="{{data.attributes.cscap}}" placeholder="0" />
|
||||
</label>
|
||||
<label>
|
||||
{{localize "SW5E.SysStorageCapacity"}}: <input class="hpformula" style="max-width:30px;" name="data.attributes.sscap" value="{{data.attributes.sscap}}" placeholder="0" />
|
||||
</label> -->
|
||||
</div>
|
||||
<h1>{{localize "SW5E.PowerRouting"}}</h1>
|
||||
<div class="traits">
|
||||
<label>
|
||||
</div>
|
||||
<h1>{{localize "SW5E.PowerRouting"}}</h1>
|
||||
<div class="traits">
|
||||
<table style="border:none;">
|
||||
<tr>
|
||||
<td align="center"><strong>{{localize "SW5E.EnginePl"}}</strong></td>
|
||||
<td rowspan=3><input type="range" orient="vertical" id="engineslidervalue" class="vertslider" value="1" step="1" min="0" max="2" oninput="engineSliderUpdate(value)"></td>
|
||||
<td align="center"><strong>{{localize "SW5E.EquipmentShieldProficiency"}}</strong></td>
|
||||
<td rowspan=3><input type="range" orient="vertical" id="shieldslidervalue" class="vertslider" value="1" step="1" min="0" max="2" oninput="shieldSliderUpdate(value)"></td>
|
||||
<td align="center"><strong>{{localize "SW5E.ItemTypeWeaponPl"}}</strong></td>
|
||||
<td rowspan=3><input type="range" orient="vertical" id="weaponslidervalue" class="vertslider" value="1" step="1" min="0" max="2" oninput="weaponSliderUpdate(value)"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td rowspan=2 align="center"><strong><output for=value id="engineslideroutput">=</output></td>
|
||||
<td rowspan=2 align="center"><strong><output for=value id="shieldslideroutput">=</output></td>
|
||||
<td rowspan=2 align="center"><strong><output for=value id="weaponslideroutput">=</output></td>
|
||||
</tr>
|
||||
<tr></tr>
|
||||
</table>
|
||||
|
||||
<!-- <label>
|
||||
{{localize "SW5E.EnginePl"}}:
|
||||
<select name="data.attributes.engpow">
|
||||
{{#select data.attributes.engpow}}
|
||||
|
@ -213,7 +268,7 @@
|
|||
{{/select}}
|
||||
</select>
|
||||
</label>
|
||||
<br />
|
||||
<br /> -->
|
||||
<table style="border: none; width: 400px;">
|
||||
<tr><th colspan=3 align="left">{{localize "SW5E.PowerDieAlloc"}}</th><th colspan=3 align="right">
|
||||
{{localize "SW5E.PowerDie"}}:
|
||||
|
@ -273,7 +328,10 @@
|
|||
<label>
|
||||
{{localize "SW5E.HardpointSizeMod"}}: {{data.attributes.hsm}}
|
||||
</label>
|
||||
</div>
|
||||
<label>
|
||||
{{localize "SW5E.DmgRed"}}: {{data.attributes.dr}}
|
||||
</label>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
{{!-- Cargo & Crew --}}
|
||||
|
|
|
@ -24,6 +24,10 @@
|
|||
<label>{{localize "SW5E.MovementRoll"}}</label>
|
||||
<input name="data.attributes.movement.roll" type="number" step="0.1" value="{{movement.roll}}"/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>{{localize "SW5E.MovementSpace"}}</label>
|
||||
<input name="data.attributes.movement.space" type="number" step="0.1" value="{{movement.space}}"/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>{{localize "SW5E.MovementSwim"}}</label>
|
||||
<input name="data.attributes.movement.swim" type="number" step="0.1" value="{{movement.swim}}"/>
|
||||
|
|
|
@ -98,11 +98,11 @@
|
|||
|
||||
<div class="form-group" style="width: 60%;">
|
||||
<strong style="color:#4b4a44; font-size: 11px">{{ localize "SW5E.CapacityMultiplier" }}</strong>
|
||||
<input style="min-width: 5px; max-width: 35px; padding: none;" type="text" name="data.capx.value" value="{{data.capx.value}}" />
|
||||
<input style="min-width: 5px; max-width: 35px; padding: none;" type="text" name="data.attributes.shld.capx" value="{{data.attributes.shld.capx}}" />
|
||||
<strong style="color:#4b4a44; font-size: 11px;">{{ localize "SW5E.DmgRed" }}</strong>
|
||||
<input style="min-width: 5px; max-width: 35px; padding: none;" type="text" name="data.attributes.dr" value="{{data.attributes.dr}}" />
|
||||
<input style="min-width: 5px; max-width: 35px; padding: none;" type="text" name="data.attributes.dmgred" value="{{data.attributes.dmgred}}" />
|
||||
<strong style="color:#4b4a44; font-size: 11px;">{{ localize "SW5E.RegenerationRateCoefficient" }}</strong>
|
||||
<input style="min-width: 5px; max-width: 35px; padding: none;" type="text" name="data.regrateco.value" value="{{data.regrateco.value}}" />
|
||||
<input style="min-width: 5px; max-width: 35px; padding: none;" type="text" name="data.attributes.shld.regrateco" value="{{data.attributes.shld.regrateco}}" />
|
||||
</div>
|
||||
|
||||
{{!-- Starship Equipment Properties --}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue