From cbbe5447de98b8a6f37c3174f0f895edce756bac Mon Sep 17 00:00:00 2001 From: Nikhil Nagarajan Date: Mon, 15 Dec 2025 21:22:39 -0500 Subject: [PATCH] Features tweaked to support only on limited actors --- templates/sheets/items/feature/settings.hbs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/templates/sheets/items/feature/settings.hbs b/templates/sheets/items/feature/settings.hbs index 5e2a20f7..401bc7c9 100644 --- a/templates/sheets/items/feature/settings.hbs +++ b/templates/sheets/items/feature/settings.hbs @@ -3,9 +3,11 @@ data-tab='{{tabs.settings.id}}' data-group='{{tabs.settings.group}}' > - {{> "systems/daggerheart/templates/sheets/global/partials/resource-section/resource-section.hbs" }} + {{#if (or (eq document.parent.type "adversary") (eq document.parent.type "environment"))}}
{{localize "DAGGERHEART.CONFIG.FeatureForm.label"}} - {{formInput document.system.schema.fields.featureForm value=system.featureForm choices=featureFormChoices localize=true}} + {{formInput document.system.schema.fields.featureForm value=document.system.featureForm choices=featureFormChoices localize=true}}
+ {{/if}} + {{> "systems/daggerheart/templates/sheets/global/partials/resource-section/resource-section.hbs" }} \ No newline at end of file