MapGenPresets 'map-gen-presets' Example code
| type | :: "map-gen-presets" | |
| name | :: string | Name of the map gen presets. [...] |
Name of the map gen presets. [...] | ||
| Custom properties | :: string → MapGenPreset | Presets are defined as uniquely named MapGenPreset properties of the prototype. [...] |
Presets are defined as uniquely named MapGenPreset properties of the prototype. [...] | ||
Properties
name :: string
Custom properties :: string → MapGenPreset
Example 
{
type = "map-gen-presets",
name = "default",
["marathon"] =
{
order = "c",
basic_settings =
{
property_expression_names = {},
},
advanced_settings =
{
difficulty_settings =
{
technology_price_multiplier = 4
}
}
},
["island"] =
{
order = "h",
basic_settings =
{
property_expression_names =
{
elevation = "elevation_island",
moisture = "moisture_basic",
aux = "aux_basic",
cliffiness = "cliffiness_basic",
cliff_elevation = "cliff_elevation_from_elevation",
trees_forest_path_cutout = 1
},
cliff_settings =
{
cliff_smoothing = 1
},
autoplace_controls =
{
["trees"] =
{
frequency = 1,
size = 0.5
}
}
}
}
}

