Home

MapGenSettings

Type

struct

Properties

default_enable_all_autoplace_controls

Whether undefined autoplace_controls should fall back to the default controls or not.

autoplace_controls

autoplace_settings

Each setting in this table maps the string type to the settings for that type.

property_expression_names

Map of property name ("elevation", etc) to name of noise expression that will provide it. Entries may be omitted. A notable usage is changing autoplace behavior of an entity based on the preset, which cannot be read from a noise expression.

starting_points

Array of the positions of the starting areas.

seed

Read by the game, but not used or set in the GUI.

width

Width of the map in tiles. Silently limited to 2 000 000, ie. +/- 1 million tiles from the center in both directions.

height

Height of the map in tiles. Silently limited to 2 000 000, ie. +/- 1 million tiles from the center in both directions.

starting_area

Size of the starting area. The starting area only effects enemy placement, and has no effect on resources.

peaceful_mode

If true, enemy creatures will not attack unless the player first attacks them.

no_enemies_mode

If true, enemy creatures will not naturally spawn from spawners, map gen, or trigger effects.

cliff_settings

territory_settings