Make factory usable from Macros.

This does not yet include any modal interface.
This commit is contained in:
Oliver Rümpelein 2021-01-09 23:14:31 +01:00
parent 85d4384a3c
commit 27c0ddbca1
4 changed files with 96 additions and 2 deletions

View file

@ -5,6 +5,7 @@ import { DS4Item } from "./item/item";
import { DS4ItemSheet } from "./item/item-sheet";
import { DS4 } from "./config";
import { DS4Check } from "./rolls/check";
import { createCheckRoll } from "./rolls/check-factory";
Hooks.once("init", async function () {
console.log(`DS4 | Initializing the DS4 Game System\n${DS4.ASCII}`);
@ -13,6 +14,7 @@ Hooks.once("init", async function () {
DS4Actor,
DS4Item,
DS4,
createCheckRoll,
};
// Record configuration