This repository has been archived on 2023-01-25. You can view files and clone it, but cannot push or open issues or pull requests.
fvtt-avd12/templates/items/partial-common-item-fields.hbs

181 lines
4.0 KiB
Handlebars
Raw Normal View History

2022-11-03 15:06:47 +01:00
<li class='flexrow'>
<label class='item-field-label-long'>
Focus Points Bonus
</label>
<input
type='text'
2022-11-03 20:01:45 +01:00
class='item-field-label-short'
2022-11-03 15:06:47 +01:00
name='system.focuspointsbonus'
value="{{system.focuspointsbonus}}"
data-dtype='Number'
/>
2022-11-03 20:01:45 +01:00
<label class='item-field-label-short'>
&nbsp;
</label>
2022-11-03 15:06:47 +01:00
<label class='item-field-label-long'>
Focus Regen Bonus
</label>
<input
type='text'
2022-11-03 20:01:45 +01:00
class='item-field-label-short'
2022-11-03 15:06:47 +01:00
name='system.focusregenbonus'
value="{{system.focusregenbonus}}"
data-dtype='Number'
/>
</li>
<li class='flexrow'>
<label class='item-field-label-long'>
Burn Chance Bonus
</label>
<input
type='text'
2022-11-03 20:01:45 +01:00
class='item-field-label-short'
2022-11-03 15:06:47 +01:00
name='system.burnchancebonus'
value="{{system.burnchancebonus}}"
data-dtype='Number'
/>
2022-11-03 20:01:45 +01:00
</li>
<li class='flexrow'>
<h3 class='item-field-label-long'>
Mitigations
</h3>
</li>
<li class='flexrow'>
{{#each system.mitigation as |mitigation key|}}
<div>
<label class='item-field-label-short'>
{{upperFirst key}}
</label>
<input
type='text'
class='item-field-label-short padd-right'
name="system.mitigation.{{key}}.value"
value="{{mitigation.value}}"
data-dtype='Number'
/>
<label>
&nbsp;
</label>
</div>
{{/each}}
</li>
<li class='flexrow'>
<h3 class='item-field-label-long'>
Bonus
</h3>
</li>
<li class='flexrow'>
{{#each system.bonus as |bonus key|}}
<div>
<label class='item-field-label-short'>
{{upperFirst key}}
</label>
<input
type='text'
class='item-field-label-short padd-right'
name="system.bonus.{{key}}.value"
value="{{bonus.value}}"
data-dtype='Number'
/>
<label>
&nbsp;
</label>
</div>
{{/each}}
</li>
2022-11-09 20:09:50 +01:00
<li class='flexrow'>
<h3 class='item-field-label-long'>
Focus
</h3>
<input type="checkbox" class="item-field-label-short" name="system.focus.isfocus" {{checked system.focus.isfocus}} />
</li>
{{#if system.focus.isfocus}}
<li class='flexrow'>
<select class="item-field-label-long" type="text" name="system.focus.core" value="{{system.focus.core}}" data-dtype="String">
{{#select system.focus.core}}
{{> systems/fvtt-avd12/templates/items/partial-options-focus-core.hbs}}
{{/select}}
</select>
<select class="item-field-label-long" type="text" name="system.focus.treatment" value="{{system.focus.treatment}}" data-dtype="String">
{{#select system.focus.treatment}}
{{> systems/fvtt-avd12/templates/items/partial-options-focus-treatment.hbs}}
{{/select}}
</select>
<select class="item-field-label-long" type="text" name="system.focus.bond" value="{{system.focus.bond}}" data-dtype="String">
{{#select system.focus.bond}}
{{> systems/fvtt-avd12/templates/items/partial-options-focus-bond.hbs}}
{{/select}}
</select>
</li>
{{/if}}
2022-11-03 20:01:45 +01:00
<li class='flexrow'>
<h3 class='item-field-label-long'>
Various
</h3>
</li>
<li class='flexrow'>
<label class='item-field-label-long'>
Weight
</label>
<input
type='text'
class='item-field-label-short'
name='system.weight'
value="{{system.weight}}"
data-dtype='Number'
/>
<label class='item-field-label-short'>
&nbsp;
</label>
<label class='item-field-label-long'>
Cost
</label>
<input
type='text'
class='item-field-label-short'
name='system.cost'
value="{{system.cost}}"
data-dtype='Number'
/>
</li>
<li class='flexrow'>
<label class='item-field-label-long'>
Health
</label>
<input
type='text'
class='item-field-label-short'
name='system.health'
value="{{system.health}}"
data-dtype='Number'
/>
<label class='item-field-label-short'>
&nbsp;
</label>
<label class='item-field-label-long'>
Move speed
</label>
<input
type='text'
class='item-field-label-short'
name='system.movespeed'
value="{{system.movespeed}}"
data-dtype='Number'
/>
2022-11-03 15:06:47 +01:00
</li>