mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
* Added support for adversary actor sizes * . * . * Finished token implementation * Fixed token-config * Updated SRD adversaries * . * Added size to Beastform tokenData * Fixed sizing for evolved beastforms * Beastform compendium update * .
54 lines
No EOL
2.6 KiB
Handlebars
54 lines
No EOL
2.6 KiB
Handlebars
<section
|
|
class='tab {{tabs.settings.cssClass}} {{tabs.settings.id}}'
|
|
data-tab='{{tabs.settings.id}}'
|
|
data-group='{{tabs.settings.group}}'
|
|
>
|
|
{{#if (eq source.system.beastformType 'evolved')}}
|
|
{{formGroup systemFields.tier value=source.system.tier localize=true}}
|
|
{{else}}
|
|
<div class="two-columns even">
|
|
{{formGroup systemFields.tier value=source.system.tier localize=true}}
|
|
{{formGroup systemFields.mainTrait value=source.system.mainTrait blank=false localize=true}}
|
|
</div>
|
|
|
|
{{#unless (eq source.system.beastformType 'hybrid')}}
|
|
{{formGroup systemFields.examples value=source.system.examples localize=true}}
|
|
<div class="advantage-on-section">
|
|
<label>{{localize "DAGGERHEART.ITEMS.Beastform.FIELDS.advantageOn.label"}}</label>
|
|
<input class="advantageon-input" value="{{advantageOn}}" />
|
|
</div>
|
|
{{/unless}}
|
|
{{/if}}
|
|
|
|
<fieldset>
|
|
<legend>{{localize "DAGGERHEART.ITEMS.Beastform.tokenTitle"}}</legend>
|
|
{{#unless (eq source.system.beastformType 'evolved')}}
|
|
<div class="full-width">
|
|
{{formGroup systemFields.tokenImg value=source.system.tokenImg localize=true}}
|
|
</div>
|
|
|
|
<div class="full-width">
|
|
{{formGroup systemFields.tokenRingImg value=source.system.tokenRingImg localize=true}}
|
|
</div>
|
|
<div class="nest-inputs">
|
|
{{formGroup systemFields.tokenSize.fields.size value=source.system.tokenSize.size label=(localize "DAGGERHEART.GENERAL.tokenSize") localize=true }}
|
|
{{formGroup
|
|
systemFields.tokenSize.fields.height
|
|
value=source.system.tokenSize.height
|
|
localize=true
|
|
placeholder=(localize (ifThen dimensionsDisabled "DAGGERHEART.ITEMS.Beastform.FIELDS.tokenSize.disabledPlaceholder" "DAGGERHEART.ITEMS.Beastform.FIELDS.tokenSize.placeholder"))
|
|
disabled=dimensionsDisabled
|
|
}}
|
|
{{formGroup
|
|
systemFields.tokenSize.fields.width
|
|
value=source.system.tokenSize.width
|
|
localize=true
|
|
placeholder=(localize (ifThen dimensionsDisabled "DAGGERHEART.ITEMS.Beastform.FIELDS.tokenSize.disabledPlaceholder" "DAGGERHEART.ITEMS.Beastform.FIELDS.tokenSize.placeholder"))
|
|
disabled=dimensionsDisabled
|
|
}}
|
|
</div>
|
|
{{else}}
|
|
<span class="hint">{{localize "DAGGERHEART.ITEMS.Beastform.evolvedTokenHint"}}</span>
|
|
{{/unless}}
|
|
</fieldset>
|
|
</section> |