2022-11-03 15:06:47 +01:00
|
|
|
<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-avd12/templates/items/partial-item-nav.hbs}}
|
|
|
|
|
|
|
|
|
|
|
|
{{!-- Sheet Body --}}
|
|
|
|
<section class="sheet-body">
|
|
|
|
|
|
|
|
{{> systems/fvtt-avd12/templates/items/partial-item-description.hbs}}
|
|
|
|
|
|
|
|
<div class="tab details" data-group="primary" data-tab="details">
|
|
|
|
|
|
|
|
<div class="tab" data-group="primary">
|
|
|
|
<ul>
|
2022-11-03 20:01:45 +01:00
|
|
|
<li class="flexrow">
|
|
|
|
<label class="item-field-label-long">Weapon category</label>
|
|
|
|
<select class="item-field-label-long" type="text" name="system.category" value="{{system.category}}" data-dtype="String">
|
|
|
|
{{#select system.category}}
|
|
|
|
{{> systems/fvtt-avd12/templates/items/partial-options-weapon-categories.hbs}}
|
2022-11-03 15:06:47 +01:00
|
|
|
{{/select}}
|
|
|
|
</select>
|
|
|
|
|
2022-11-03 20:01:45 +01:00
|
|
|
<label class="item-field-label-short"> </label>
|
|
|
|
|
|
|
|
<label class="item-field-label-long">Weapon type</label>
|
|
|
|
<select class="item-field-label-long" type="text" name="system.weapontype" value="{{system.weapontype}}" data-dtype="String">
|
|
|
|
{{#select system.weapontype}}
|
|
|
|
{{> systems/fvtt-avd12/templates/items/partial-options-weapon-types.hbs}}
|
2022-11-03 15:06:47 +01:00
|
|
|
{{/select}}
|
|
|
|
</select>
|
2022-11-03 20:01:45 +01:00
|
|
|
|
2022-11-03 15:06:47 +01:00
|
|
|
</li>
|
|
|
|
|
|
|
|
{{> systems/fvtt-avd12/templates/items/partial-common-item-fields.hbs}}
|
|
|
|
|
2022-11-03 20:01:45 +01:00
|
|
|
<li class='flexrow'>
|
|
|
|
<h3 class='item-field-label-long'>
|
|
|
|
Range
|
|
|
|
</h3>
|
2022-11-03 15:06:47 +01:00
|
|
|
</li>
|
2022-11-03 20:01:45 +01:00
|
|
|
|
|
|
|
<li class="flexrow">
|
|
|
|
<label class="item-field-label-long">Min Range</label>
|
|
|
|
<input type="text" class="item-field-label-short" name="system.minrange" value="{{system.minrange}}" data-dtype="Number"/>
|
|
|
|
|
|
|
|
<label class="item-field-label-short"> </label>
|
|
|
|
|
|
|
|
<label class="item-field-label-long">Max Range</label>
|
|
|
|
<input type="text" class="item-field-label-short" name="system.maxrange" value="{{system.maxrange}}" data-dtype="Number"/>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="flexrow">
|
|
|
|
<label class="item-field-label-long">Throw Range</label>
|
|
|
|
<input type="text" class="item-field-label-short" name="system.throwrange" value="{{system.throwrange}}" data-dtype="Number"/>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="flexrow">
|
|
|
|
<label class="item-field-label-long">Magical</label>
|
|
|
|
<input type="checkbox" class="item-field-label-short" name="system.magical" {{checked system.magical}} />
|
|
|
|
|
|
|
|
<label class="item-field-label-short"> </label>
|
|
|
|
|
|
|
|
<label class="item-field-label-long">Blackened Iron</label>
|
|
|
|
<input type="checkbox" class="item-field-label-short" name="system.blackenediron" {{checked system.blackenediron}} />
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="flexrow">
|
|
|
|
<label class="item-field-label-long">Silvered</label>
|
|
|
|
<input type="checkbox" class="item-field-label-short" name="system.silvered" {{checked system.silvered}} />
|
|
|
|
|
|
|
|
<label class="item-field-label-short"> </label>
|
|
|
|
|
|
|
|
<label class="item-field-label-long">Equipped</label>
|
|
|
|
<input type="checkbox" class="item-field-label-short" name="system.equipped" {{checked system.equipped}} />
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="flexrow">
|
|
|
|
<h3 class="item-field-label-long">Damages</h3>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="flexrow">
|
|
|
|
{{#each system.damages as |damage key|}}
|
|
|
|
<div class="flexcol">
|
|
|
|
<label class="item-field-label-long">{{upperFirst key}}</label>
|
|
|
|
<div class="flexrow">
|
|
|
|
<label class="item-field-label-short">Type</label>
|
2023-01-18 16:42:33 +01:00
|
|
|
<select class="item-field-label-long" type="text" name="system.damages.{{key}}.damagetype" value="{{damage.damagetype}}" data-dtype="String">
|
|
|
|
{{#select damage.damagetype}}
|
2022-11-17 13:18:32 +01:00
|
|
|
{{> systems/fvtt-avd12/templates/items/partial-options-damage-types.hbs}}
|
|
|
|
{{/select}}
|
|
|
|
</select>
|
2022-11-03 20:01:45 +01:00
|
|
|
</div>
|
|
|
|
<div class="flexrow">
|
|
|
|
<label class="item-field-label-short">Dice</label>
|
|
|
|
<input type="text" class="item-field-label-short" name="system.damages.{{key}}.dice" value="{{damage.dice}}" data-dtype="Number"/>
|
|
|
|
</div>
|
|
|
|
<div class="flexrow">
|
|
|
|
<label class="item-field-label-short">Bonus</label>
|
|
|
|
<input type="text" class="item-field-label-short" name="system.damages.{{key}}.bonus" value="{{damage.bonus}}" data-dtype="Number"/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/each}}
|
2022-11-03 15:06:47 +01:00
|
|
|
</li>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</section>
|
|
|
|
</form>
|