Implements #77

This commit is contained in:
2022-10-03 10:01:41 +02:00
parent aa1d5e8ecb
commit 7bcd4d9c06
4 changed files with 339 additions and 42 deletions

View File

@ -57,8 +57,9 @@ Hooks.once("init", async function () {
CONFIG.Combat.documentClass = PegasusCombat
CONFIG.Actor.documentClass = PegasusActor
CONFIG.Item.documentClass = PegasusItem
//CONFIG.Token.objectClass = PegasusToken
game.system.pegasus = { };
game.system.pegasus = {
utility: PegasusUtility
}
/* -------------------------------------------- */
// Register sheet application classes
@ -69,8 +70,9 @@ Hooks.once("init", async function () {
Items.unregisterSheet("core", ItemSheet);
Items.registerSheet("fvtt-pegasus", PegasusItemSheet, { makeDefault: true });
PegasusUtility.init();
PegasusUtility.init()
});
/* -------------------------------------------- */