rename packs to match dw system loading
This commit is contained in:
parent
9284110c7e
commit
f1ec3be82f
|
@ -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
|
||||
|
||||
|
|
14
module.json
14
module.json
|
@ -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",
|
||||
|
|
|
@ -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')
|
||||
|
||||
});
|
||||
|
||||
|
|
34
packs/dwgl-the-beguiler-moves.json
Normal file
34
packs/dwgl-the-beguiler-moves.json
Normal 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
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue