Basic module loading
This commit is contained in:
parent
91735c424b
commit
60e77c05d6
2 changed files with 11 additions and 2 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
"id": "bae",
|
"id": "bae",
|
||||||
"title": "Better area effects",
|
"title": "Better area effects",
|
||||||
"description": "Bullet hell mechanics for everyone.",
|
"description": "Bullet hell mechanics for everyone.",
|
||||||
"authors:": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Phireh"
|
"name": "Phireh"
|
||||||
}
|
}
|
||||||
|
|
@ -11,5 +11,8 @@
|
||||||
"compatibility": {
|
"compatibility": {
|
||||||
"minimum": "12",
|
"minimum": "12",
|
||||||
"verified": "12"
|
"verified": "12"
|
||||||
}
|
},
|
||||||
|
"scripts": [
|
||||||
|
"scripts/bae.js"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
6
scripts/bae.js
Normal file
6
scripts/bae.js
Normal file
|
|
@ -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"); });
|
||||||
Loading…
Add table
Add a link
Reference in a new issue