the_beguiler_module/modules/settings.js

10 lines
298 B
JavaScript
Raw Normal View History

Hooks.on("ready", function() {
console.log("Adding the Beguiller class");
if (game.items.filter((item) => item.name == 'The Beguiler' && item.type == 'class').length == 0) {
game.items.importFromCompendium(game.packs.get("the_beguiler_module.dwgl-classe"), "vtwvUr31f4qcVSWx")
}
});