mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-16 13:41:07 +01:00
[PR] [Feature] Feature form labels + SRD Update (Adversaries & Environments) (#1429)
* New labels. Time to print them somewhere. * Action buttons have icons. Pretty Iconic * Features tweaked to support only on limited actors * Duplicate ActionTypes+references are removed. * Adversary and Environment SRD entries updated. * Updated name field workflow in character actor. * Adversary name fields are improved as well. * Revert "Updated name field workflow in character actor." This reverts commit66924c530f. * Revert "Adversary name fields are improved as well." This reverts commitf60e8cffda. * Fixed prototype token in Abandoned Grove * Label change --------- Co-authored-by: WBHarry <williambjrklund@gmail.com>
This commit is contained in:
parent
474cf28a53
commit
7d1e70f66f
152 changed files with 731 additions and 405 deletions
|
|
@ -49,6 +49,19 @@ Parameters:
|
|||
{{tag}}
|
||||
</div>
|
||||
{{/each}}
|
||||
|
||||
{{!-- Feature Form Tag Start --}}
|
||||
{{#if (eq ../type 'feature')}}
|
||||
{{#if (or (eq @root.document.type 'adversary') (eq @root.document.type 'environment'))}}
|
||||
{{#if system.featureForm}}
|
||||
<div class="tag feature-form">
|
||||
<span class="recall-value">{{localize (concat "DAGGERHEART.CONFIG.FeatureForm." system.featureForm)}}</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{!-- Feature Form Tag End --}}
|
||||
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/with}}
|
||||
|
|
@ -145,10 +158,12 @@ Parameters:
|
|||
<div class="item-button">
|
||||
{{#if (and (eq action.type 'beastform') @root.beastformActive)}}
|
||||
<button type="button" data-action="cancelBeastform" data-item-uuid="{{action.uuid}}">
|
||||
<i class="fa-solid {{action.typeIcon}} action-icon"></i>
|
||||
{{localize "DAGGERHEART.ACTORS.Character.cancelBeastform"}}
|
||||
</button>
|
||||
{{else}}
|
||||
<button type="button" data-action="useItem" data-item-uuid="{{action.uuid}}">
|
||||
<i class="fa-solid {{action.typeIcon}} action-icon"></i>
|
||||
{{action.name}}
|
||||
</button>
|
||||
{{/if}}
|
||||
|
|
|
|||
|
|
@ -67,6 +67,21 @@
|
|||
</div>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
<!-- Feature Form Tags for adversary/environment actors -->
|
||||
{{#if (eq type 'feature')}}
|
||||
{{#if (or (eq @root.document.type 'adversary') (eq @root.document.type 'environment'))}}
|
||||
{{#if item.system.featureForm}}
|
||||
<div class="item-tags">
|
||||
<div class="tag">
|
||||
<span class="recall-label">{{localize "DAGGERHEART.CONFIG.FeatureForm.label"}}: </span>
|
||||
<span class="recall-value">{{localize (concat "DAGGERHEART.CONFIG.FeatureForm." item.system.featureForm)}}</span>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
{{#if (eq type 'domainCard')}}
|
||||
{{#if isSidebar}}
|
||||
<div class="item-labels">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue