I’m pretty sure the button being grayed out is purely a UI thing. Look at the “start menu” or something like that UI code, you’ll see that the workshops for each crafter type only light up if a check shows that that there are some of that profession in your town. I think the farming and trapping zones buttons are the same thing, so you can just edit the .js file to always enable those buttons (if your kingdom is the right type).
Paul’s right about the button. You can mixinto start_menu.json, under create_farm to remove or replace the required_job value.
For the perks, there’s an explicit check against stonehearth:jobs:worker in citizen_character_sheet.js, line 443, but if your worker job has a different URI, that should be fine.
/data/ui/start_menu.json worked perfectly, the option for the field now shows up, so ive got everying working as it should except for one thing:
citizen_character_sheet.js
ive made a copy of the file, and have ahot loading manifest overwrite the current .js file when my nordlings are chosen,
and if i get you correctly
//show each class that this person has ever been
var jobs = this.get('model.stonehearth:job.job_controllers');
radiant.each(jobs, function(alias, data) {
if (alias != 'stonehearth:jobs:worker') {
var div = self.$("[uri='" + alias + "']");
//For each, figure out which perks should be unlocked
self._unlockPerksToLevel(div, data.last_gained_lv)
$(div).show();
}
});
is the piece of code that, for no reason i can think of tells the game: DONT SHOW THE WORKERS SKILLS
so what i tried was ripping out the IF part.
//show each class that this person has ever been
var jobs = this.get('model.stonehearth:job.job_controllers');
radiant.each(jobs, function(alias, data) {
{
var div = self.$("[uri='" + alias + "']");
//For each, figure out which perks should be unlocked
self._unlockPerksToLevel(div, data.last_gained_lv)
$(div).show();
}
});
but that seems to not have worked because skills are still not showing up, am i missing something here or am i better of just turning that check for worker into a check for the mythical non existant sasquatch?
//show each class that this person has ever been
var jobs = this.get('model.stonehearth:job.job_controllers');
radiant.each(jobs, function(alias, data) {
var div = self.$("[uri='" + alias + "']");
//For each, figure out which perks should be unlocked
self._unlockPerksToLevel(div, data.last_gained_lv)
$(div).show();
});
Aside from that, this is a change that should go to the main game itself…
for if you want to check my work
and yes i added levels, gaining xp, i pointed at the farmers existing skills and changed the links to the pictures to direct links so they did not have to be in the same folder