Raised compatability to foundry-364. Swapped to new resourceBar color methodology

This commit is contained in:
WBHarry 2026-06-10 21:55:15 +02:00
parent 58eb41e4a9
commit 3e4e6f911a
3 changed files with 19 additions and 7 deletions

View file

@ -77,6 +77,20 @@ CONFIG.Token.prototypeSheetClass = applications.sheetConfigs.DhPrototypeTokenCon
CONFIG.Token.objectClass = placeables.DhTokenPlaceable;
CONFIG.Token.rulerClass = placeables.DhTokenRuler;
CONFIG.Token.hudClass = applications.hud.DHTokenHUD;
CONFIG.Token.barConfig = {
bar1: {
colors: {
full: Color.fromRGB([1, 0, 0]),
empty: Color.fromRGB([0, 0, 0])
}
},
bar2: {
colors: {
full: Color.fromString('#0032b1'),
empty: Color.fromRGB([0, 0, 0])
}
}
};
CONFIG.ui.combat = applications.ui.DhCombatTracker;
CONFIG.ui.nav = applications.ui.DhSceneNavigation;