Files
hbm-foundry-system/templates/item/discipline.hbs
2026-06-09 22:06:56 +02:00

30 lines
1.8 KiB
Handlebars
Raw Permalink 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.
<div class="hbm item-body discipline">
<div class="row">
<label>{{localize 'HBM.discipline.color'}}: <input type="text" name="system.color" value="{{system.color}}"/></label>
<label>{{localize 'HBM.discipline.suggestedAttribute'}}:
<select name="system.suggestedAttribute">
<option value="body" {{#if (eq system.suggestedAttribute 'body')}}selected{{/if}}>{{localize 'HBM.attributes.body'}}</option>
<option value="mind" {{#if (eq system.suggestedAttribute 'mind')}}selected{{/if}}>{{localize 'HBM.attributes.mind'}}</option>
<option value="soul" {{#if (eq system.suggestedAttribute 'soul')}}selected{{/if}}>{{localize 'HBM.attributes.soul'}}</option>
<option value="magic" {{#if (eq system.suggestedAttribute 'magic')}}selected{{/if}}>{{localize 'HBM.attributes.magic'}}</option>
</select>
</label>
</div>
<label>{{localize 'HBM.discipline.passiveAbility'}}<textarea name="system.passiveAbility" rows="3">{{system.passiveAbility}}</textarea></label>
<fieldset>
<legend>{{localize 'HBM.discipline.signatureSpells'}}
<button type="button" data-action="addArrayEntry" data-path="system.signatureSpells" data-template='""'
title="{{localize 'HBM.ui.add'}}"></button>
</legend>
{{#each system.signatureSpells as |s idx|}}
<div class="row">
<input type="text" name="system.signatureSpells.{{idx}}" value="{{s}}" />
<button type="button" data-action="removeArrayEntry" data-path="system.signatureSpells"
data-index="{{idx}}">✕</button>
</div>
{{/each}}
</fieldset>
<label>{{localize 'HBM.discipline.description'}}<textarea name="system.description" rows="6">{{system.description}}</textarea></label>
</div>