First foray into modding

I’m starting my learning with some modding and after things going well for a little while i’ve come unstuck. Unfortunately I have no idea what i’ve cocked up to cause the error.:

release-687 (x64)[M]
Uncaught TypeError: Cannot read property ‘alias’ of undefined
TypeError: Cannot read property ‘alias’ of undefined
at http://radiant/stonehearth/ui/game/promotion_tree/promotion_tree.js:90:35
at Array.sort (native)
at App.StonehearthPromotionTree.App.View.extend._buildTreeData (http://radiant/stonehearth/ui/game/promotion_tree/promotion_tree.js:89:11)
at null._updateTalismanData (http://radiant/stonehearth/ui/game/promotion_tree/promotion_tree.js:346:30)
at Object. (http://radiant/stonehearth/ui/game/promotion_tree/promotion_tree.js:306:15)
at c (http://radiant/stonehearth/ui/root/js/libs/jquery-1.10.2.min.js:4:26036)
at Object.p.add [as progress] (http://radiant/stonehearth/ui/root/js/libs/jquery-1.10.2.min.js:4:26346)
at SimpleClass.extend.progress (http://radiant/stonehearth/ui/game/traces/data_trace.js:17:22)
at App.StonehearthPromotionTree.App.View.extend._getCitizenData (http://radiant/stonehearth/ui/game/promotion_tree/promotion_tree.js:302:26)
at Object. (http://radiant/stonehearth/ui/game/promotion_tree/promotion_tree.js:64:21)

Any help appreciated

Are you trying to add a new job? If so I recommend to look at another mod that adds new jobs. I was having some problems with it too that I only discovered what I was missing when I looked at another mod.

Haven’t added any new jobs just clothes for jobs. Been using the Rayyas children as a basis for bits. I literally can’t work out the part I’ve messed up to cause this :sweat_smile:

Did you added the correct alias (as implied in the error)? When the error happens?

No idea what that is. At all. 100% We’re talking billy basics here i’ve got no idea what i’m dealing with.

I press the assign job button and no assign menu appears. That’s all I know really!

If you are just starting to learn, and your item is an armor, it would better to start with this: Startermod_basic updated with weapons, armor, lights, and particles

There is one for equipment.

Aye cheers lad. This is more cause I wanna work towards adding a race so I feel like diving in the deep end is best. I had a shuftie at the items one & it’s something I’ll be fiddling with for sure.

If anyone has a clue about that issue I’d still like to hear from them. As it is I’m just gonna dump off all the files and rewrite from base.

Anyone got any idea?

If you share your mod maybe someone can take a look at why it is failing.

Did you manage to make your faction appear at the embark screen yet?
Do your workers show the new clothes that you made?

<div style=font-size:9px;font-family:Arial, Helvetica, sans-serif;width:127px;font-color:#44a854;> file storage online
So this is where i’m at with it. There is a sound error which i’m not overly concerned with, the workers new outfits are working fine. Previously the outfits for farmers trappers and footmen worked fine as well. However at some point the error has occurred and I can’t assign anyone a job as the job tree doesn’t appear.

Thanks for any help.


It appears as though in your trapper folder you have named your trapper file “trapper_description” where it should be named “ae_trapper_description”! If you switch this around it should fix the job tree issue. I hope this helps!

1 Like

Simple fix. Nice thank you, I don’t think I could see the wood for the trees!

1 Like