diff --git a/daggerheart.mjs b/daggerheart.mjs index 0e19c563..8c981763 100644 --- a/daggerheart.mjs +++ b/daggerheart.mjs @@ -97,12 +97,38 @@ Hooks.once('init', () => { fields }; + CONFIG.DH.ACTOR.characterResources.basic = { + id: 'basic', + initial: 0, + max: 4, + reverse: false, + label: 'Basic' + }; + CONFIG.DH.ACTOR.characterResources.corruption = { id: 'corruption', initial: 0, max: 4, reverse: false, label: 'Corruption', + images: { + full: { + value: 'systems/daggerheart/assets/icons/domains/sage.svg', + isPath: true + }, + empty: { + value: 'systems/daggerheart/assets/icons/domains/sage.svg', + isPath: true + } + } + }; + + CONFIG.DH.ACTOR.characterResources.fire = { + id: 'fire', + initial: 0, + max: 6, + reverse: false, + label: 'On Fire', images: { full: { value: 'icons/magic/fire/barrier-wall-explosion-orange.webp', @@ -133,22 +159,6 @@ Hooks.once('init', () => { } }; - CONFIG.DH.ACTOR.characterResources.glitched = { - id: 'glitched', - initial: 0, - max: 6, - reverse: false, - label: 'Glitched', - images: { - full: { - value: 'fa-solid fa-robot' - }, - empty: { - value: 'fa-regular fa-robot' - } - } - }; - game.system.registeredTriggers = new game.system.api.data.RegisteredTriggers(); const { DocumentSheetConfig } = foundry.applications.apps;