Get the module foundations and the Artist app created
This commit is contained in:
parent
8744b6c562
commit
ffa2162fbd
20 changed files with 590 additions and 0 deletions
5
module/hooks/init.mjs
Normal file
5
module/hooks/init.mjs
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
import { api } from "../api.mjs";
|
||||
|
||||
Hooks.on(`init`, () => {
|
||||
globalThis.tb = api;
|
||||
});
|
||||
3
module/hooks/ready.mjs
Normal file
3
module/hooks/ready.mjs
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
Hooks.on(`ready`, () => {
|
||||
globalThis._loc = game.i18n.format.bind(game.i18n);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue