mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
modify ruler and token ruler to show distance ranges (#40)
This commit is contained in:
parent
504e2ca0f2
commit
2d832e74d4
4 changed files with 47 additions and 6 deletions
|
|
@ -9,6 +9,7 @@ import { registerDHPSettings } from './module/applications/settings.mjs';
|
|||
import DhpChatLog from './module/ui/chatLog.mjs';
|
||||
import DhpPlayers from './module/ui/players.mjs';
|
||||
import DhpRuler from './module/ui/ruler.mjs';
|
||||
import DhpTokenRuler from './module/ui/tokenRuler.mjs';
|
||||
|
||||
globalThis.SYSTEM = SYSTEM;
|
||||
|
||||
|
|
@ -83,6 +84,7 @@ Hooks.once('init', () => {
|
|||
CONFIG.ui.combat = DhpCombatTracker;
|
||||
CONFIG.ui.chat = DhpChatLog;
|
||||
CONFIG.ui.players = DhpPlayers;
|
||||
CONFIG.Token.rulerClass = DhpTokenRuler;
|
||||
|
||||
game.socket.on(`system.${SYSTEM.id}`, handleSocketEvent);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue