How do I extract/find

hello I don’t seem to have the folder structure I am supposed to have? read another post saying there was a file named services/server/game_creation/game_creation_services.lua

wanted to set starting villagers to 8 at least maybe 9 to provide all the needed jobs

Hello, @thedarlec!

Within your Stonehearth-folder (in steam-versions, this is …\Steam\steamapps\common\Stonehearth), there is a mods-folder. The changes and folder-structure you are talking about is found within the “stonehearth mod”.
Ergo, within the mods-folder, locate stonehearth.smod; .smod is simply a renamed .zip-file.

You can locate and edit mentioned file by following these steps:

  1. rename stonehearth.smod to stonehearth.zip
  2. unzip stonehearth.zip -> this yields a folder namned stonehearth
  3. within this new folder, browse to services/server/game_creation/game_creation_services.lua
  4. perform your changes
  5. re-zip your stonehearth-folder (stonehearth.zip)
  6. rename stonehearth.zip into stonehearth.smod

If these steps are performed correctly, boot up Stonehearth and your chages will be implemented. Best of luck! :slight_smile:

thanks now it seems the post must refer to an older copy as the line doesn’t look anything like what was described in this post Modding villager files

NUM_STARTING_CITIZENS variable that’s set to 7.

was looking for that and seems to loop back on its self from what I can read

also humble bundle doesn’t want to give me 22.5?

local NUM_STARTING_CITIZENS = constants.game_creation.num_starting_citizens is what it says was expecting local NUM_STARTING_CITIZENS = 7

or am I looking in the wrong place?

Check at data/constants.json

      "game_creation": {
         "num_starting_citizens": 7
      },

thanks that did it now I have my 10 workers…though I can tell they didn’t plan for that causeality as the roll all icon is in the way lol

scratch that the game can’t even start past roster with the 10 villagers as it doesn’t know how to place the other 3 in world