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

@ -14,6 +14,7 @@ cat hbw-classe.json | jq -c > hbw-classe.db
- Add class description
- Add translation
- Open issue to allow multiple compendiumPrefix in dungeonworld system
## Docs

View file

@ -28,8 +28,18 @@
{
"label": "DW Beguiler Classe",
"type": "Item",
"name": "dwgl-classe",
"path": "packs/dwgl-classe.db",
"name": "dwgl-classes",
"path": "packs/dwgl-classes.db",
"system": "dungeonworld",
"package": "world",
"entity": "Item",
"private": false
},
{
"label": "DW Beguiler Moves",
"type": "Item",
"name": "dwgl-the-beguiler-moves",
"path": "packs/dwgl-the-beguiler-moves.db",
"system": "dungeonworld",
"package": "world",
"entity": "Item",

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')
});

View file

@ -0,0 +1,34 @@
{
"_id": "e9EL6vYlvcKowHh1",
"name": "Thoughtsend",
"type": "move",
"flags": {},
"img": "icons/magic/control/energy-stream-link-teal.webp",
"system": {
"name": "",
"description": "<p>You may communicate wordlessly and securely via telepathy with anyone you have a Bond with.</p>",
"choices": "",
"moveType": "starting",
"rollFormula": "",
"moveResults": {
"failure": { "value": "" },
"partial": { "value": ""},
"success": { "value": "" }
},
"class": "The Beguiler",
"rollType": "",
"rollMod": 0,
"requiresLevel": 0,
"requiresMove": "",
"moveGroup": ""
},
"ownership": {
"default": 0
},
"effects": [],
"folder": null,
"sort": 0,
"permission": {
"default": 0
}
}