system.json aktualisiert
This commit is contained in:
@@ -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);
|
||||
Reference in New Issue
Block a user