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
23 lines
No EOL
977 B
Handlebars
23 lines
No EOL
977 B
Handlebars
<section
|
|
class='tab {{tabs.features.cssClass}} {{tabs.features.id}}'
|
|
data-tab='{{tabs.features.id}}'
|
|
data-group='{{tabs.features.group}}'
|
|
>
|
|
<fieldset class="one-column drop-section">
|
|
<legend>{{localize "DAGGERHEART.Sheets.Global.Features"}} <a><i data-action="addFeature" class="fa-solid fa-plus icon-button"></i></a></legend>
|
|
<div class="features-list">
|
|
{{#each document.system.features as |feature|}}
|
|
<div class="feature-item"
|
|
data-action="editFeature"
|
|
id="{{feature.id}}"
|
|
>
|
|
<img class="image" src="{{feature.img}}" />
|
|
<span>{{feature.name}}</span>
|
|
<div class="controls">
|
|
<a data-action="removeFeature" id="{{feature.id}}"><i class="fa-solid fa-trash"></i></a>
|
|
</div>
|
|
</div>
|
|
{{/each}}
|
|
</div>
|
|
</fieldset>
|
|
</section> |