Files
fvtt-adventures-with-emmy/templates/weapon.hbs
T

51 lines
1.8 KiB
Handlebars
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<section>
<div class="item-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="item-body">
<div class="form-group">
<label>{{localize "AWEMMY.Weapon.AttackAttribute"}}</label>
{{formField systemFields.attackAttribute value=system.attackAttribute localize=true}}
</div>
<div class="form-row">
<div class="form-group">
<label>{{localize "AWEMMY.Weapon.Damage"}}</label>
{{formInput systemFields.damageFormula value=system.damageFormula}}
</div>
<div class="form-group">
<label>{{localize "AWEMMY.Weapon.DamageType"}}</label>
{{formInput systemFields.damageType value=system.damageType}}
</div>
</div>
<div class="form-group">
<label>{{localize "AWEMMY.Weapon.Range"}}</label>
{{formInput systemFields.range value=system.range}}
</div>
<div class="form-group-tags">
<label>{{localize "AWEMMY.Ability.Traits"}}</label>
<div class="tags-list">
{{#each system.traits}}
<span class="tag">{{this}} <a data-action="removeTrait" data-index="{{@index}}">×</a></span>
{{/each}}
<input type="text" class="new-tag" data-action="addTrait"
list="awemmy-trait-suggestions"
placeholder="{{localize 'AWEMMY.Ability.AddTrait'}}" />
<datalist id="awemmy-trait-suggestions">
{{#each traitSuggestions}}<option value="{{this}}">{{/each}}
</datalist>
</div>
</div>
<fieldset>
<legend>{{localize "AWEMMY.Item.Description"}}</legend>
{{formInput systemFields.description enriched=enrichedDescription value=system.description name="system.description" toggled=true}}
</fieldset>
</div>
</section>