feat: allow selecting all resources in the combat tracker config and the default token config
This commit is contained in:
parent
11dc6fc423
commit
1a27fa7e97
2 changed files with 32 additions and 0 deletions
|
@ -24,6 +24,7 @@ import { createCheckRoll } from "../rolls/check-factory";
|
|||
import { DS4Roll } from "../rolls/roll";
|
||||
import registerSlayingDiceModifier from "../rolls/slaying-dice-modifier";
|
||||
import { registerSystemSettings } from "../settings";
|
||||
import { DS4TokenDocument } from "../token-document";
|
||||
|
||||
export default function registerForInitHook(): void {
|
||||
Hooks.once("init", init);
|
||||
|
@ -47,6 +48,7 @@ async function init() {
|
|||
CONFIG.Item.documentClass = DS4Item;
|
||||
CONFIG.ActiveEffect.documentClass = DS4ActiveEffect;
|
||||
CONFIG.ChatMessage.documentClass = DS4ChatMessage;
|
||||
CONFIG.Token.documentClass = DS4TokenDocument;
|
||||
|
||||
CONFIG.Actor.typeLabels = DS4.i18n.actorTypes;
|
||||
CONFIG.Item.typeLabels = DS4.i18n.itemTypes;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue