forked from GitHub-Mirrors/foundry-sw5e
Connect derived data to starships
another update to connect derived data to starships sheet only based on size so far.
This commit is contained in:
parent
d7879fad94
commit
3a7eafe267
5 changed files with 60 additions and 23 deletions
|
@ -316,11 +316,11 @@
|
|||
{{localize "SW5E.ModCap"}}: <input class="hpformula" style="max-width:30px;" name="data.attributes.mods.capUsed" value="{{data.attributes.mods.capUsed}}" placeholder="10" />/ {{data.attributes.mods.capLimit}}
|
||||
</label>
|
||||
<label>
|
||||
{{localize "SW5E.SuiteCap"}}: <input class="hpformula" style="max-width:30px;" name="data.attributes.suites.open" value="{{data.attributes.suites.open}}" placeholder="0" />/ {{data.attributes.suites.max}}
|
||||
{{localize "SW5E.SuiteCap"}}: <input class="hpformula" style="max-width:30px;" name="data.attributes.suites.open" value="{{data.attributes.mods.suites.open}}" placeholder="0" />/ {{data.attributes.mods.suites.max}} - capacity: {{data.attributes.mods.suites.cap}}
|
||||
</label>
|
||||
<br />
|
||||
<label>
|
||||
{{localize "SW5E.HardpointSizeMod"}}: {{data.attributes.hsm}}
|
||||
{{localize "SW5E.HardpointSizeMod"}}: {{data.attributes.mods.hardpoints.open}} / {{data.attributes.mods.hardpoints.max}}
|
||||
</label>
|
||||
<label>
|
||||
{{localize "SW5E.DmgRed"}}: {{data.attributes.dr}}
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
<nav class="sheet-navigation tabs" data-group="primary">
|
||||
<a class="item active" data-tab="description">{{ localize "SW5E.Description" }}</a>
|
||||
<a class="item" data-tab="details">{{ localize "SW5E.Details" }}</a>
|
||||
<a class="item" data-tab="effects">{{ localize "SW5E.Effects" }}</a>
|
||||
</nav>
|
||||
|
||||
{{!-- Item Sheet Body --}}
|
||||
|
@ -262,7 +263,10 @@
|
|||
<input type="text" placeholder="0" name="data.foodCap" value="{{data.foodCap}}" data-dtype="Number"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{{!-- Effects Tab --}}
|
||||
<div class="tab effects flexcol" data-group="primary" data-tab="effects">
|
||||
{{> "systems/sw5e/templates/actors/parts/active-effects.html"}}
|
||||
</div>
|
||||
</section>
|
||||
</form>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue