Get the module foundations and the Artist app created

This commit is contained in:
Oliver 2026-01-17 21:54:41 -07:00
parent 8744b6c562
commit ffa2162fbd
20 changed files with 590 additions and 0 deletions

5
module/hooks/init.mjs Normal file
View file

@ -0,0 +1,5 @@
import { api } from "../api.mjs";
Hooks.on(`init`, () => {
globalThis.tb = api;
});

3
module/hooks/ready.mjs Normal file
View file

@ -0,0 +1,3 @@
Hooks.on(`ready`, () => {
globalThis._loc = game.i18n.format.bind(game.i18n);
});