system.json aktualisiert

This commit is contained in:
2024-09-22 15:06:47 +02:00
committed by Sven Balzer
parent 76267367c8
commit f0a82fef45
3 changed files with 41 additions and 55 deletions
+14
View File
@@ -0,0 +1,14 @@
console.log("Hello World! This code runs immediately when the file is loaded.");
function init() {
console.log("INIT");
console.log(foundry.documents.BaseItem.metadata.types);
foundry.documents.BaseItem.metadata.types.push("talent");
}
function ready() {
console.log("READY");
}
Hooks.on("init", init);
Hooks.on("ready", ready);