mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
* Removed action fields on Adversary/Environment in favor of using Feature Items * Added drag/drop for features onto adversary/environment settings * Added Drag of features from Adversary/Environment settings to anywhere in Foundry * Updated all item types except Class/Subclass * Added for Class/Subclass * Items now copy over their features to Character * Corrected back to actions for right items * Fixed adversary/environment features display * PR Fixes
44 lines
No EOL
2.3 KiB
Handlebars
44 lines
No EOL
2.3 KiB
Handlebars
<section
|
|
class='tab {{tabs.features.cssClass}} {{tabs.features.id}}'
|
|
data-tab='{{tabs.features.id}}'
|
|
data-group='{{tabs.features.group}}'
|
|
>
|
|
<fieldset class="drop-section" data-type="foundationFeature">
|
|
<legend>
|
|
{{localize "DAGGERHEART.Sheets.Subclass.Tabs.Foundation"}}
|
|
<a {{#if source.system.foundationFeature}}disabled{{/if}}><i data-action="addFeature" data-type="foundationFeature" class="fa-solid fa-plus icon-button {{#if source.system.foundationFeature}}disabled{{/if}}"></i></a>
|
|
</legend>
|
|
|
|
<div class="feature-list">
|
|
{{#if source.system.foundationFeature}}
|
|
{{> 'systems/daggerheart/templates/sheets/global/partials/feature-section-item.hbs' type='foundationFeature' feature=source.system.foundationFeature}}
|
|
{{/if}}
|
|
</div>
|
|
</fieldset>
|
|
|
|
<fieldset class="drop-section" data-type="specializationFeature">
|
|
<legend>
|
|
{{localize "DAGGERHEART.Sheets.Subclass.Tabs.Specialization"}}
|
|
<a {{#if source.system.specializationFeature}}disabled{{/if}}><i data-action="addFeature" data-type="specializationFeature" class="fa-solid fa-plus icon-button {{#if source.system.specializationFeature}}disabled{{/if}}"></i></a>
|
|
</legend>
|
|
|
|
<div class="feature-list">
|
|
{{#if source.system.specializationFeature}}
|
|
{{> 'systems/daggerheart/templates/sheets/global/partials/feature-section-item.hbs' type='specializationFeature' feature=source.system.specializationFeature}}
|
|
{{/if}}
|
|
</div>
|
|
</fieldset>
|
|
|
|
<fieldset class="drop-section" data-type="masteryFeature">
|
|
<legend>
|
|
{{localize "DAGGERHEART.Sheets.Subclass.Tabs.Mastery"}}
|
|
<a {{#if source.system.masteryFeature}}disabled{{/if}}><i data-action="addFeature" data-type="masteryFeature" class="fa-solid fa-plus icon-button {{#if source.system.masteryFeature}}disabled{{/if}}"></i></a>
|
|
</legend>
|
|
|
|
<div class="feature-list">
|
|
{{#if source.system.masteryFeature}}
|
|
{{> 'systems/daggerheart/templates/sheets/global/partials/feature-section-item.hbs' type='masteryFeature' feature=source.system.masteryFeature}}
|
|
{{/if}}
|
|
</div>
|
|
</fieldset>
|
|
</section> |