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 class description
|
||||||
- Add translation
|
- Add translation
|
||||||
|
- Open issue to allow multiple compendiumPrefix in dungeonworld system
|
||||||
|
|
||||||
## Docs
|
## Docs
|
||||||
|
|
||||||
|
|
14
module.json
14
module.json
|
@ -28,8 +28,18 @@
|
||||||
{
|
{
|
||||||
"label": "DW Beguiler Classe",
|
"label": "DW Beguiler Classe",
|
||||||
"type": "Item",
|
"type": "Item",
|
||||||
"name": "dwgl-classe",
|
"name": "dwgl-classes",
|
||||||
"path": "packs/dwgl-classe.db",
|
"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",
|
"system": "dungeonworld",
|
||||||
"package": "world",
|
"package": "world",
|
||||||
"entity": "Item",
|
"entity": "Item",
|
||||||
|
|
|
@ -2,8 +2,7 @@ Hooks.on("ready", function() {
|
||||||
|
|
||||||
console.log("Adding the Beguiller class");
|
console.log("Adding the Beguiller class");
|
||||||
|
|
||||||
if (game.items.filter((item) => item.name == 'The Beguiler' && item.type == 'class').length == 0) {
|
game.settings.set('dungeonworld', 'compendiumPrefix', 'dwgl')
|
||||||
game.items.importFromCompendium(game.packs.get("the_beguiler_module.dwgl-classe"), "vtwvUr31f4qcVSWx")
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
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