Headless server expensive recipes?

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Post Reply
Blahbla
Burner Inserter
Burner Inserter
Posts: 10
Joined: Sat Jul 08, 2017 2:57 am
Contact:

Headless server expensive recipes?

Post by Blahbla »

TL;DR How do I make recipes expensive on my headless server?

Cheers.

In map-gen-settings.json of 0.15.28, there are three fields for difficulty:

Code: Select all

"difficulty_settings":
{
   "recipe_difficulty": 1,
   "technology_difficulty": 1,
   "technology_price_multiplier": 1
}
I meant for my headless server to use "expensive" mode for both recipe and technology, but I don't know what values to use. Setting "recipe_difficulty" or "technology_difficulty" to 2 produces an error when trying to generate the map (something like "unkown recipe value"). Setting them to 0 doesn't produce the error, but the recipe cost remains normal.

Edit: Found this post on the same topic viewtopic.php?f=7&t=44979 (solution doesn't work)

Blahbla
Burner Inserter
Burner Inserter
Posts: 10
Joined: Sat Jul 08, 2017 2:57 am
Contact:

Re: Headless server expensive recipes?

Post by Blahbla »

I found a dumb workaround: use single player to create the save file, then tell the headless server to use that save.

Post Reply

Return to “Technical Help”