rename packs to match dw system loading

This commit is contained in:
Histausse 2023-06-10 23:26:53 +02:00
parent 9284110c7e
commit f1ec3be82f
5 changed files with 49 additions and 5 deletions

View file

@ -2,8 +2,7 @@ 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")
}
game.settings.set('dungeonworld', 'compendiumPrefix', 'dwgl')
});