74 lines
2.8 KiB
Handlebars
Raw Normal View History

<section>
<div class="header">
<img class="item-img" src="{{item.img}}" data-edit="img" data-action="editImage" data-tooltip="{{item.name}}" />
{{formInput fields.name value=source.name}}
</div>
<div class="flexrow">
<div class="align-top">
{{formField systemFields.weaponType value=system.weaponType localize=true}}
<label>Damage Type</label>
<div class="shift-right">
{{formField systemFields.damageType.fields.typeP value=system.standing.typeP}}
{{formField systemFields.damageType.fields.typeB value=system.standing.typeB}}
{{formField systemFields.damageType.fields.typeS value=system.standing.typeS}}
</div>
<label>Damage</label>
<div class="shift-right">
{{formField systemFields.damage.fields.damageS value=system.standing.damageS}}
{{formField systemFields.damage.fields.damageM value=system.standing.damageM}}
</div>
{{formField systemFields.hands value=system.hands localize=true}}
{{#if (eq system.weaponType "melee")}}
{{formField systemFields.defenseMax value=system.defenseMax}}
{{formField systemFields.secondsToAttack value=system.secondsToAttack}}
{{/if}}
{{#if (eq system.weaponType "ranged")}}
<label>Speed</label>
<div class="shift-right">
{{formField systemFields.speed.fields.simpleAim value=system.speed.simpleAim}}
{{formField systemFields.speed.fields.carefulAim value=system.speed.carefulAim}}
{{formField systemFields.speed.fields.focusedAim value=system.speed.focusedAim}}
</div>
{{/if}}
</div>
<div class="align-top">
{{#if (eq system.weaponType "ranged")}}
{{formField systemFields.defense value=system.defense}}
<label>Range</label>
<div class="shift-right">
{{formField systemFields.range.fields.pointBlank value=system.range.pointBlank}}
{{formField systemFields.range.fields.short value=system.range.short}}
{{formField systemFields.range.fields.medium value=system.range.medium}}
{{formField systemFields.range.fields.long value=system.range.long}}
{{formField systemFields.range.fields.extreme value=system.range.extreme}}
{{formField systemFields.range.fields.outOfSkill value=system.range.outOfSkill}}
</div>
{{/if}}
{{formField systemFields.load value=system.load}}
{{formField systemFields.cost value=system.cost}}
{{formField systemFields.money value=system.money localize=true}}
</div>
</div>
<fieldset>
<legend>{{localize "LETHALFANTASY.Label.description"}}</legend>
{{formInput
systemFields.description
enriched=description
value=system.description
name="system.description"
toggled=true
}}
</fieldset>
</section>