Recipe Difficulty with --map-settings
Posted: Thu Jun 08, 2017 8:30 pm
Hi there,
I'm trying to create a set of JSON files for map-gen-settings and map-settings, that are the same as the presets the game gives you in the UI. I'm having trouble figuring out the right settings for recipe difficulty.
map-settings-example.json looks like:
And map-gen-presets.lua:
From this I took a guess that normal recipes = 1, and expensive = 2, but that seems not to be the case. If I use 2, the server says: 0.000 Error Util.cpp:62: Unknown recipe difficulty.
Are the correct values documented somewhere?
I'm trying to create a set of JSON files for map-gen-settings and map-settings, that are the same as the presets the game gives you in the UI. I'm having trouble figuring out the right settings for recipe difficulty.
map-settings-example.json looks like:
Code: Select all
"difficulty_settings":
{
"recipe_difficulty": 1,
"technology_difficulty": 1,
"technology_price_multiplier": 1
},
Code: Select all
["marathon"] =
{
order = "c",
advanced_settings =
{
difficulty_settings =
{
recipe_difficulty = defines.difficulty_settings.recipe_difficulty.expensive,
technology_difficulty = defines.difficulty_settings.technology_difficulty.expensive,
technology_price_multiplier = 4
}
}
},
Are the correct values documented somewhere?