Init system
This commit is contained in:
@ -19,63 +19,38 @@
|
||||
<div class="tab" data-group="primary">
|
||||
<ul>
|
||||
<li class="flexrow"><label class="generic-label">Type</label>
|
||||
<select class="competence-base flexrow" type="text" name="system.armortype" value="{{data.armortype}}" data-dtype="String">
|
||||
{{#select data.armortype}}
|
||||
<option value="clothes">Clothes</option>
|
||||
<option value="paddedlight">Padded (Light)</option>
|
||||
<option value="leatherlight">Leather/Hide (Light)</option>
|
||||
<option value="leathermedium">Studded Leather (Medium)</option>
|
||||
<option value="chain">Chain (Medium)</option>
|
||||
<option value="scale">Scale (Heavy)</option>
|
||||
<option value="scale">Scale (Heavy)</option>
|
||||
<option value="platemail">Plate Mail (Heavy)</option>
|
||||
<option value="platefull">Full Plate (Heavy)</option>
|
||||
<input type="text" class="input-numeric-short 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>
|
||||
{{#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>
|
||||
<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}}
|
||||
{{/each}}
|
||||
|
||||
<li class="flexrow"><label class="generic-label">SI</label>
|
||||
<input type="text" class="input-numeric-short padd-right" name="system.si" value="{{system.si}}" data-dtype="Number"/>
|
||||
</li>
|
||||
|
||||
<li class="flexrow"><label class="generic-label">Availability</label>
|
||||
<select class="competence-base flexrow" type="text" name="system.availability" value="{{system.availability}}" data-dtype="String">
|
||||
{{#select system.availability}}
|
||||
{{#each config.availability as |name key|}}
|
||||
<option value="{{key}}">{{name}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
|
||||
<li class="flexrow"><label class="generic-label">Absorption roll</label>
|
||||
<select class="competence-base flexrow" type="text" name="system.absorprionroll" value="{{data.absorprionroll}}" data-dtype="String">
|
||||
{{#select data.absorprionroll}}
|
||||
<option value="none">None</option>
|
||||
<option value="white">White</option>
|
||||
<option value="green">Green</option>
|
||||
<option value="blue">Blue</option>
|
||||
<option value="purple">Purple</option>
|
||||
<option value="red">Red</option>
|
||||
<option value="black">Black</option>
|
||||
<option value="blackgreen">Black+Green</option>
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
|
||||
<li class="flexrow"><label class="generic-label">Damaged roll</label>
|
||||
<select class="competence-base flexrow" type="text" name="system.damagedroll" value="{{data.damagedroll}}" data-dtype="String">
|
||||
{{#select data.damagedroll}}
|
||||
<option value="none">None</option>
|
||||
<option value="white">White</option>
|
||||
<option value="green">Green</option>
|
||||
<option value="blue">Blue</option>
|
||||
<option value="purple">Purple</option>
|
||||
<option value="red">Red</option>
|
||||
<option value="black">Black</option>
|
||||
<option value="blackgreen">Black+Green</option>
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
|
||||
<li class="flexrow"><label class="generic-label">Is proficient ?</label>
|
||||
<label class="attribute-value checkbox"><input type="checkbox" name="system.isproficient" {{checked data.isproficient}}/></label>
|
||||
</li>
|
||||
|
||||
<li class="flexrow"><label class="generic-label">Minimum strength</label>
|
||||
<input type="text" class="input-numeric-short padd-right" name="system.minstr" value="{{data.minstr}}" data-dtype="Number"/>
|
||||
</li>
|
||||
|
||||
<li class="flexrow"><label class="generic-label">Skill penalty</label>
|
||||
<input type="text" class="input-numeric-short padd-right" name="system.skillpenalty" value="{{data.skillpenalty}}" data-dtype="Number"/>
|
||||
</li>
|
||||
|
||||
<li class="flexrow"><label class="generic-label">Equipped ?</label>
|
||||
<label class="attribute-value checkbox"><input type="checkbox" name="system.equipped" {{checked data.equipped}}/></label>
|
||||
</li>
|
||||
|
Reference in New Issue
Block a user