daggerheart/templates/sheets/global/partials/resource-section/resource-section.hbs
WBHarry b9508e19e8
[Feature] Become Unstoppable (#1321)
* Added implementation of unstoppable

* Forgot to add the updated Unstoppable Feature itself

* Added immunity for hidden and SRD additions for immunity
2025-11-23 15:23:52 +01:00

20 lines
No EOL
869 B
Handlebars

<fieldset>
<legend>
{{localize "DAGGERHEART.GENERAL.Resource.single"}}
{{#unless source.system.resource}}
<a data-action="addResource"><i class="fa-solid fa-plus icon-button"></i></a>
{{else}}
<a data-action="removeResource"><i class="fa-solid fa-trash"></i></a>
{{/unless}}
</legend>
{{#if source.system.resource}}
{{#if (eq source.system.resource.type 'simple')}}
{{> "systems/daggerheart/templates/sheets/global/partials/resource-section/simple.hbs"}}
{{else if (eq source.system.resource.type 'diceValue')}}
{{> "systems/daggerheart/templates/sheets/global/partials/resource-section/dice-value.hbs"}}
{{else}}
{{> "systems/daggerheart/templates/sheets/global/partials/resource-section/die.hbs"}}
{{/if}}
{{/if}}
</fieldset>