From 678e45840f4048b866573ecdd544283d85acc3c1 Mon Sep 17 00:00:00 2001 From: Joaquin Pereyra Date: Wed, 25 Jun 2025 17:31:59 -0300 Subject: [PATCH] FEAT: add effects tab on domainCard sheet --- module/applications/sheets/items/domainCard.mjs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/module/applications/sheets/items/domainCard.mjs b/module/applications/sheets/items/domainCard.mjs index d29c9d18..d7a70741 100644 --- a/module/applications/sheets/items/domainCard.mjs +++ b/module/applications/sheets/items/domainCard.mjs @@ -7,6 +7,15 @@ export default class DomainCardSheet extends DHBaseItemSheet { position: { width: 450, height: 700 } }; + /** @override */ + static TABS = { + primary: { + tabs: [{ id: 'description' }, { id: 'actions' }, { id: 'settings' }, { id: 'effects' }], + initial: 'description', + labelPrefix: 'DAGGERHEART.Sheets.TABS' + } + }; + /**@override */ static PARTS = { header: { template: 'systems/daggerheart/templates/sheets/items/domainCard/header.hbs' }, @@ -19,6 +28,10 @@ export default class DomainCardSheet extends DHBaseItemSheet { settings: { template: 'systems/daggerheart/templates/sheets/items/domainCard/settings.hbs', scrollable: ['.settings'] + }, + effects: { + template: 'systems/daggerheart/templates/sheets/global/tabs/tab-effects.hbs', + scrollable: ['.effects'] } }; }