Added a separation of system effects and generic effects on token status effects. Can be turned off in settings.

This commit is contained in:
WBHarry 2025-07-11 15:20:39 +02:00
parent 70239ec06a
commit 202ee0b635
11 changed files with 199 additions and 5 deletions

View file

@ -41,10 +41,14 @@ Hooks.once('init', () => {
]
);
CONFIG.statusEffects = Object.values(SYSTEM.GENERAL.conditions).map(x => ({
...x,
name: game.i18n.localize(x.name)
}));
CONFIG.statusEffects = [
...CONFIG.statusEffects,
...Object.values(SYSTEM.GENERAL.conditions).map(x => ({
...x,
name: game.i18n.localize(x.name),
systemEffect: true
}))
];
CONFIG.Dice.daggerheart = {
DualityDie: DualityDie,
@ -108,6 +112,8 @@ Hooks.once('init', () => {
}
);
CONFIG.Token.hudClass = applications.hud.DHTokenHUD;
CONFIG.Combat.dataModels = {
base: models.DhCombat
};