Question / Helping - Modding

Hello guys,

I learning to create mods!
But now I have a question and maybe someone can help me!

If I override the file

stonehearth/data/biome/temperate_generation_data.json

with my own code

"season": "spring",
   "palettes": {
      "spring": {
          "null": "#ff00ff",
     "unknown": "#25221a",
     "bedrock": "#51514f",
     "rock_layer_1": "#A7B6BB",
     "rock_layer_2": "#CCEAF4",
     "rock_layer_3": "#CDE7EF",
     "rock_layer_4": "#E2F9FF",
     "rock_layer_5": "#F4FDFF",
     "rock_layer_6": "#F7FEFF",
     "rock_layer_7": "#FFFFFF",
     "rock_layer_8": "#FFFFFF",
     "soil_light": "#717277",
     "soil_dark": "#5F6065",
     "dirt": "#DDDCD9",
     "dirt_edge_1": "#CFCCC3",
     "grass": "#FFFFFF",
     "grass_edge_1": "#E2E8ED",
     "grass_edge_2": "#F0F3F5",
     "grass_hills": "#828282",
     "grass_hills_edge_1": "#6D6D6D",
     "grass_hills_edge_2": "#757575",
     "copper_ore": "#c87533",
     "tin_ore": "#b0a080",
     "iron_ore": "#90b0d0",
     "silver_ore": "#cccccc",
     "gold_ore": "#ffd700",
     "coal": "#021c24"
      }
   }

it works really fine!

BUT if I change the season - Tag

"season": "spring"
"palettes": {
  "spring": { .... }}

to

"season": "underworld"
"palettes": {
  "underworld": { .... }}

the new biome change only the index-map (where you can choose, where your new kingdom should be [see image])

But if you choose “SETTLE HER” and you see the map, it hasn’t this styles like on the index-map.

So my question is:
Is there any constant or any .lua - File that changing these “palettes” settings?

best regards

Biome modding eh… Calling out to @BrunoSupremo for help :slight_smile:.

1 Like

Seasons are not implemented yet and as such the game just reads the spring palette for now.
The map color palette is read from this:
stonehearth\services\server\world_generation\biome.lua

The minimap is from both js files:
stonehearth\ui\shell\select_settlement\select_settlement.js
stonehearth\ui\shell\select_settlement\map.js

1 Like

Hi @BrunoSupremo,

thanks for your reply :slightly_smiling_face: !