System init

This commit is contained in:
2022-12-04 12:16:25 +01:00
parent 3668798fa7
commit 5b7f7dc075
64 changed files with 188 additions and 70 deletions

View File

@ -6,35 +6,39 @@
</div>
</header>
{{> systems/fvtt-crucible-rpg/templates/partial-item-nav.html}}
{{> systems/fvtt-dark-stars/templates/partials/partial-item-nav.hbs}}
{{!-- Sheet Body --}}
<section class="sheet-body">
{{> systems/fvtt-crucible-rpg/templates/partial-item-description.html}}
{{> systems/fvtt-dark-stars/templates/partials/partial-item-description.hbs}}
<div class="tab details" data-group="primary" data-tab="details">
<div class="tab" data-group="primary">
<ul>
<li class="flexrow"><label class="generic-label">Type</label>
<input type="text" class="input-numeric-short padd-right" name="system.armortype" value="{{system.armortype}}" data-dtype="String"/>
<input type="text" class="padd-right" name="system.armortype" value="{{system.armortype}}" data-dtype="String"/>
</li>
{{#each system.locations as |location key|}}
<li class="flexrow"><label class="generic-label">{{location.label}}</label>
<li class="flexrow"><label class="generic-label">Protected ?</label>
<label class="attribute-value checkbox"><input type="checkbox" name="system.locations.{{key}}.protected" {{checked location.protected}}/></label>
</li>
<li class="flexrow">
<label class="generic-label">{{locationLabel key}}</label>
<label class="generic-label">Protected ?</label>
<label class="attribute-value checkbox"><input type="checkbox" name="system.locations.{{key}}.protected" {{checked location.protected}}/></label>
{{#if location.protected}}
<li class="flexrow"><label class="generic-label">Protection (max)</label>
<input type="text" class="input-numeric-short padd-right" name="system.locations.{{key}}.max" value="{{location.max}}" data-dtype="Number"/>
<li>
<ul class="ul-level1">
<li class="flexrow"><label class="generic-label">Protection (max)</label>
<input type="text" class="input-numeric-short padd-right" name="system.locations.{{key}}.max" value="{{location.max}}" data-dtype="Number"/>
</li>
<li class="flexrow"><label class="generic-label">Protection (current)</label>
<input type="text" class="input-numeric-short padd-right" name="system.locations.{{key}}.value" value="{{location.value}}" data-dtype="Number"/>
</li>
</ul>
</li>
<li class="flexrow"><label class="generic-label">Protection (current)</label>
<input type="text" class="input-numeric-short padd-right" name="system.locations.{{key}}.value" value="{{location.value}}" data-dtype="Number"/>
</li>
{{/if}}
{{/if}}
{{/each}}
<li class="flexrow"><label class="generic-label">SI</label>