154 lines
7.8 KiB
Handlebars
154 lines
7.8 KiB
Handlebars
<form class="{{cssClass}}" autocomplete="off">
|
|
<header class="sheet-header">
|
|
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
|
<div class="header-fields">
|
|
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
|
</div>
|
|
</header>
|
|
|
|
{{> systems/fvtt-dark-stars/templates/partials/partial-item-nav.hbs}}
|
|
|
|
|
|
{{!-- Sheet Body --}}
|
|
<section class="sheet-body">
|
|
|
|
{{> 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="item-field-label-long">Weapon Type</label>
|
|
<select class="item-field-label-vlong" type="text" name="system.weapontype" value="{{system.weapontype}}" data-dtype="String">
|
|
{{#select system.weapontype}}
|
|
{{#each config.weapontypes as |type key|}}
|
|
<option value="{{key}}">{{type}}</option>
|
|
{{/each}}
|
|
{{/select}}
|
|
</select>
|
|
</li>
|
|
|
|
<li class="flexrow"><label class="item-field-label-long">Associated skill</label>
|
|
<select class="item-field-label-vlong" type="text" name="system.skill" value="{{system.skill}}" data-dtype="String">
|
|
{{#select system.skill}}
|
|
{{#each skills as |skill idx|}}
|
|
<option value="{{skill.name}}">{{skill.name}}</option>
|
|
{{/each}}
|
|
{{/select}}
|
|
</select>
|
|
</li>
|
|
|
|
<li class="flexrow"><label class="item-field-label-long">Penetration min.</label>
|
|
<input type="text" class="right item-field-label-long" name="system.penetrationmin" value="{{system.penetrationmin}}" data-dtype="String"/>
|
|
</li>
|
|
|
|
<li class="flexrow"><label class="item-field-label-long">Penetration max.</label>
|
|
<input type="text" class="right item-field-label-long" name="system.penetrationmax" value="{{system.penetrationmax}}" data-dtype="String"/>
|
|
</li>
|
|
|
|
<li class="flexrow"><label class="item-field-label-vlong">Needs Ammunition ?</label>
|
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.needammo" {{checked system.needammo}}/></label>
|
|
</li>
|
|
|
|
{{#if system.needammo}}
|
|
|
|
{{else}}
|
|
<li class="flexrow"><label class="item-field-label-vlong">HP damage ?</label>
|
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.hashpdamage" {{checked system.hashpdamage}}/></label>
|
|
</li>
|
|
{{#if system.hashpdamage}}
|
|
<li class="flexrow"><label class="item-field-label-vlong">HP Damage formula</label>
|
|
<input type="text" class="right item-field-label-long" name="system.damage" value="{{system.damage}}" data-dtype="String"/>
|
|
</li>
|
|
{{/if}}
|
|
|
|
<li class="flexrow"><label class="item-field-label-vlong">Fatigue damage ?</label>
|
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.hasfatiguedamage" {{checked system.hasfatiguedamage}}/></label>
|
|
</li>
|
|
{{#if system.hasfatiguedamage}}
|
|
<li class="flexrow"><label class="item-field-label-vlong">Fatigue damage formula</label>
|
|
<input type="text" class="right item-field-label-long" name="system.fatiguedamage" value="{{system.fatiguedamage}}" data-dtype="String"/>
|
|
</li>
|
|
{{/if}}
|
|
{{/if}}
|
|
|
|
<li class="flexrow"><label class="item-field-label-long">Bulk</label>
|
|
<input type="text" class="input-numeric-short padd-right" name="system.bulk" value="{{system.bulk}}" data-dtype="Number"/>
|
|
</li>
|
|
|
|
<li class="flexrow"><label class="item-field-label-long">BR</label>
|
|
<input type="text" class="input-numeric-short padd-right" name="system.br" value="{{system.br}}" data-dtype="Number"/>
|
|
</li>
|
|
|
|
<li class="flexrow"><label class="item-field-label-long">RoF</label>
|
|
<input type="text" class="input-numeric-short padd-right" name="system.rof" value="{{system.rof}}" data-dtype="Number"/>
|
|
</li>
|
|
|
|
<li class="flexrow"><label class="item-field-label-long">Ammo</label>
|
|
<input type="text" class="input-numeric-short padd-right" name="system.ammo" value="{{system.ammo}}" data-dtype="Number"/>
|
|
</li>
|
|
|
|
<li class="flexrow"><label class="item-field-label-long">Effective Range</label>
|
|
<select class="item-field-label-long" type="text" name="system.effectiverange" value="{{system.effectiverange}}" data-dtype="Number">
|
|
{{#select system.effectiverange}}
|
|
{{#each config.range as |type key|}}
|
|
<option value="{{key}}">{{type}}</option>
|
|
{{/each}}
|
|
{{/select}}
|
|
</select>
|
|
</li>
|
|
|
|
<li class="flexrow"><label class="item-field-label-long">Maximum Range</label>
|
|
<select class="item-field-label-long" type="text" name="system.maxrange" value="{{system.maxrange}}" data-dtype="Number">
|
|
{{#select system.maxrange}}
|
|
{{#each config.range as |type key|}}
|
|
<option value="{{key}}">{{type}}</option>
|
|
{{/each}}
|
|
{{/select}}
|
|
</select>
|
|
</li>
|
|
|
|
<li class="flexrow"><label class="item-field-label-long">SP</label>
|
|
<input type="text" class="input-numeric-short padd-right" name="system.sp" value="{{system.sp}}" data-dtype="Number"/>
|
|
</li>
|
|
|
|
<li class="flexrow"><label class="item-field-label-vlong">Size </label>
|
|
<input type="text" class="input-numeric-short padd-right" name="system.size" value="{{system.size}}" data-dtype="String"/>
|
|
</li>
|
|
|
|
<li class="flexrow"><label class="item-field-label-vlong">Ammo type </label>
|
|
<input type="text" class="item-field-label-long padd-right" name="system.ammotype" value="{{system.ammotype}}" data-dtype="String"/>
|
|
</li>
|
|
|
|
<li class="flexrow"><label class="item-field-label-vlong">Incendiary ?</label>
|
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.incendiary" {{checked system.incendiary}}/></label>
|
|
</li>
|
|
<li class="flexrow"><label class="item-field-label-vlong">Armour destruction ?</label>
|
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.armourdestruction" {{checked system.armourdestruction}}/></label>
|
|
</li>
|
|
<li class="flexrow"><label class="item-field-label-vlong">Disable system ?</label>
|
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.disablesystems" {{checked system.disablesystems}}/></label>
|
|
</li>
|
|
<li class="flexrow"><label class="item-field-label-vlong">Special effect ?</label>
|
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.specialffect" {{checked system.specialffect}}/></label>
|
|
</li>
|
|
<li class="flexrow"><label class="item-field-label-vlong">Guided weapon ?</label>
|
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.guidedweapon" {{checked system.guidedweapon}}/></label>
|
|
</li>
|
|
|
|
<li class="flexrow"><label class="item-field-label-vlong">Equipped ?</label>
|
|
<label class="attribute-value checkbox"><input type="checkbox" name="system.equipped" {{checked system.equipped}}/></label>
|
|
</li>
|
|
|
|
<li class="flexrow"><label class="item-field-label-vlong">Cost</label>
|
|
<input type="text" class="input-numeric-short padd-right" name="system.cost" value="{{system.cost}}" data-dtype="Number"/>
|
|
</li>
|
|
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
</section>
|
|
</form>
|