diff --git a/module.json b/module.json index ef4a3cc..42e2bd6 100644 --- a/module.json +++ b/module.json @@ -2,7 +2,7 @@ "id": "bae", "title": "Better area effects", "description": "Bullet hell mechanics for everyone.", - "authors:": [ + "authors": [ { "name": "Phireh" } @@ -11,5 +11,8 @@ "compatibility": { "minimum": "12", "verified": "12" - } + }, + "scripts": [ + "scripts/bae.js" + ] } diff --git a/scripts/bae.js b/scripts/bae.js new file mode 100644 index 0000000..1bc8270 --- /dev/null +++ b/scripts/bae.js @@ -0,0 +1,6 @@ +// This runs on file load +console.log("BAE MODULE LOADED"); +// This runs on FoundryVTT init +Hooks.on("init", function() { console.log("BAE INIT HOOK"); }); +// This runs when game data is ready +Hooks.on("ready", function() { console.log("BAE READY HOOK"); });