MapGenSettings :: struct
| default_enable_all_autoplace_controls optional | :: boolean | Whether undefined |
Whether undefined | ||
| autoplace_controls optional | :: dictionary[AutoplaceControlID → FrequencySizeRichness] | |
| autoplace_settings optional | :: dictionary["entity" or "tile" or "decorative" → AutoplaceSettings] | Each setting in this table maps the string type to the settings for that type. |
Each setting in this table maps the string type to the settings for that type. | ||
| property_expression_names optional | :: dictionary[string → string or boolean or double] | Map of property name ( |
Map of property name ( | ||
| starting_points optional | :: array[MapPosition] | Array of the positions of the starting areas. |
Array of the positions of the starting areas. | ||
| seed optional | :: uint32 | Read by the game, but not used or set in the GUI. |
Read by the game, but not used or set in the GUI. | ||
| width optional | :: uint32 | Width of the map in tiles. [...] |
Width of the map in tiles. [...] | ||
| height optional | :: uint32 | Height of the map in tiles. [...] |
Height of the map in tiles. [...] | ||
| starting_area optional | :: MapGenSize | Size of the starting area. [...] |
Size of the starting area. [...] | ||
| peaceful_mode optional | :: boolean | If true, enemy creatures will not attack unless the player first attacks them. |
If true, enemy creatures will not attack unless the player first attacks them. | ||
| no_enemies_mode optional | :: boolean | If true, enemy creatures will not naturally spawn from spawners, map gen, or trigger effects. |
If true, enemy creatures will not naturally spawn from spawners, map gen, or trigger effects. | ||
| cliff_settings optional | :: CliffPlacementSettings | |
| territory_settings optional | :: TerritorySettings | |


