Here;s an example of map presets I made for my own use.... Just put in data.lua
Code: Select all
data:extend(
{
{
type = "map-gen-presets",
name = "default",
-- default changes nothing
default =
{
default = true,
order = "a"
},
["rich-resources"] =
{
order = "b",
basic_settings =
{
autoplace_controls =
{
["iron-ore"] = { richness = "very-good"},
["copper-ore"] = { richness = "very-good"},
["stone"] = { richness = "very-good"},
["coal"] = { richness = "very-good"},
["uranium-ore"] = { richness = "very-good"},
["crude-oil"] = { richness = "very-good"}
}
}
},
["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
}
}
},
["dangerous"] =
{
order = "d",
basic_settings =
{
autoplace_controls =
{
["enemy-base"] = { frequency = "very-high"}
}
},
advanced_settings =
{
enemy_evolution =
{
time_factor = 0.00002,
pollution_factor = 0.00002
}
}
},
["death-world"] =
{
order = "d",
basic_settings =
{
autoplace_controls =
{
["enemy-base"] = { frequency = "very-high"}
}
},
advanced_settings =
{
enemy_evolution =
{
time_factor = 0.00002,
pollution_factor = 0.00002
},
difficulty_settings =
{
recipe_difficulty = defines.difficulty_settings.recipe_difficulty.expensive,
technology_difficulty = defines.difficulty_settings.technology_difficulty.expensive,
technology_price_multiplier = 4
}
}
},
["rail-world"] =
{
order = "e",
basic_settings =
{
autoplace_controls = {
coal = {
frequency = "very-low",
size = "high"
},
["copper-ore"] = {
frequency = "very-low",
size = "high"
},
["crude-oil"] = {
frequency = "low",
size = "high"
},
["uranium-ore"] = {
frequency = "low",
size = "high"
},
["enemy-base"] = {
frequency = "low",
},
["iron-ore"] = {
frequency = "very-low",
size = "high"
},
stone = {
frequency = "very-low",
size = "high"
}
},
terrain_segmentation = "very-low",
water = "high",
},
advanced_settings =
{
enemy_evolution =
{
time_factor = 0.000002
},
enemy_expansion =
{
enabled = false
}
}
},
["wear-tear"] =
{
order = "f",
basic_settings =
{
autoplace_controls =
{
["angels-ore1"] = { frequency = "low", size = "high", richness = "good"},
["angels-ore2"] = { frequency = "low", size = "high", richness = "good"},
["angels-ore3"] = { frequency = "low", size = "high", richness = "good"},
["angels-ore4"] = { frequency = "low", size = "high", richness = "good"},
["angels-ore5"] = { frequency = "low", size = "high", richness = "good"},
["angels-ore6"] = { frequency = "low", size = "high", richness = "good"},
["angels-fissure"] = { frequency = "low", size = "high", richness = "very-good"},
["angels-natural-gas"] = { frequency = "low", size = "high", richness = "very-good"},
["coal"] = { frequency = "low", size = "high", richness = "very-good"},
["crude-oil"] = { frequency = "low", size = "high", richness = "very-good"}
}, terrain_segmentation = "low", water = "very-high",
},
advanced_settings = {enemy_evolution = {time_factor = 0, pollution_factor = 0.000008}}
}
}
})