I am trying to add my custom combat class to [mod_folder]\data\gm\campaigns\town_progression\arcs\trigger\town_progression\encounters\hearth_quest_glory.json,
I have already changed it to work for the custom kingdom(not acendancy) and i can do the whole progression w/o my custom job
- I follow the same format as the current quest_glory.json
- Added cleric to make sure i was doing it correctly before trying custom job(works fine)
{
“type”: “job_level”,
“uri”: “stonehearth:jobs:cleric”,
“level”: 3
},
{
“type”: “job_level”,
“uri”: “box_o_vox:jobs:necromancer”,
“level”: 3
}
and i tried by directly stating the file
{
“type”: “job_level”,
“uri”: “stonehearth:jobs:cleric”,
“level”: 3
},
{
“type”: “job_level”,
“uri”: “/box_o_vox/jobs/necromancer/necromancer_description.json”,
“level”: 3
}
in both cases i get the same error
2018-04-24 15:38:28.973798 | client | 1 | browser | TypeError: Cannot read property 'description' of undefined
2018-04-24 15:38:28.973798 | client | 1 | browser | at http://radiant/stonehearth/ui/game/bulletin/bulletin_dialog/delivery_quest_dialog/delivery_quest_dialog.js:92:45
2018-04-24 15:38:28.973798 | client | 1 | browser | at Array.forEach (native)
2018-04-24 15:38:28.973798 | client | 1 | browser | at Function.j.each.j.forEach (http://radiant/radiant/js/external/underscore-1.5.2.min.js:5:599)
2018-04-24 15:38:28.973798 | client | 1 | browser | at n._recalculateRequirements (http://radiant/stonehearth/ui/game/bulletin/bulletin_dialog/delivery_quest_dialog/delivery_quest_dialog.js:64:9)
2018-04-24 15:38:28.973798 | client | 1 | browser | at w (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:5:23160)
2018-04-24 15:38:28.973798 | client | 1 | browser | at m (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:4:21008)
2018-04-24 15:38:28.973798 | client | 1 | browser | at b (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:5:13753)
2018-04-24 15:38:28.973798 | client | 1 | browser | at a (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:5:12519)
2018-04-24 15:38:28.973798 | client | 1 | browser | at h (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:5:13415)
2018-04-24 15:38:28.973798 | client | 1 | browser | at a (http://radiant/stonehearth/ui/root/js/libs/ember-1.8.1.min.js:5:12507)
I’m not very good with lua or js/ember/node but i think that the delivery_quest_dialog.js is not getting my description. Is this because its under a different namespace(not stonehearth:jobs:[job_name]). Do i need to write my own delivery quest dialog(i dont know how to mixinto js/ember/node)