Class creation - help requested

I want to make a new class, and i have the “hush” mod from the steam workshop, the tutorial one, and i was wanting to use it for reference, but i’m not sure what all i need from that to actually create a class.

I wanted to start simple, I couldn’t think of anything so i decided to try and make a high-end tailor, sort of. They would make clothing and such for another class i could add later on, and also make clothes for trading and whatnot. So truth is i’m not actually sure where to start.

1 Like

How to create new jobs is not added to the modding guide yet, but I can give you a few tips:

  • Copy/paste the carpenter job from stonehearth/jobs . Or you can also copy the lamplighter jobs from the “hush” mod (also inside the jobs folder). The lamplighter has a few custom AI actions that you probably don’t want, though.

  • Declare an alias for your job in your mod’s manifest.

  • Add a mixinto to the jobs index (you will find an example in the hush mod).

  • Rename/modify the files of the folder you copied, and make sure your alias points to the correct path.

Be careful when you modify the files, it’s easy to make typos or forget to change things. Here’s a link to the “manifest” section of the guide: https://stonehearth.github.io/modding_guide/modding_guide/essentials/manifest/index.html

Also you’ll need to add a recipe for the talisman of your new job. The hush mod adds a mixinto to the carpenter recipes so that the carpenter can craft the lamplighter’s talisman (the item used for promoting to a job).

2 Likes