This commit is contained in:
WBHarry 2026-03-08 20:39:52 +01:00
parent 2c1f884b2a
commit 94a320b91c

View file

@ -97,12 +97,38 @@ Hooks.once('init', () => {
fields fields
}; };
CONFIG.DH.ACTOR.characterResources.basic = {
id: 'basic',
initial: 0,
max: 4,
reverse: false,
label: 'Basic'
};
CONFIG.DH.ACTOR.characterResources.corruption = { CONFIG.DH.ACTOR.characterResources.corruption = {
id: 'corruption', id: 'corruption',
initial: 0, initial: 0,
max: 4, max: 4,
reverse: false, reverse: false,
label: 'Corruption', 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: { images: {
full: { full: {
value: 'icons/magic/fire/barrier-wall-explosion-orange.webp', 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(); game.system.registeredTriggers = new game.system.api.data.RegisteredTriggers();
const { DocumentSheetConfig } = foundry.applications.apps; const { DocumentSheetConfig } = foundry.applications.apps;