Factorio Prototype DocsVersion 1.1.107

MapGenSettings :: struct

Properties

terrain_segmentation optional :: MapGenSize

This is the inverse of "water scale" in the map generator GUI. [...]

This is the inverse of "water scale" in the map generator GUI. [...]

water optional :: MapGenSize

Shown as water coverage in the map generator GUI.

Shown as water coverage in the map generator GUI.

default_enable_all_autoplace_controls optional :: bool

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

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

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 bool or double]

Map of property name ("elevation", etc) to name of noise expression that will provide it. [...]

Map of property name ("elevation", etc) to name of noise expression that will provide it. [...]

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 :: bool
cliff_settings optional :: CliffPlacementSettings

Properties

terrain_segmentation :: MapGenSize optional

This is the inverse of "water scale" in the map generator GUI. So a water scale that shows as 50% in the GUI is a value of 1/0.5 = 2 for terrain_segmentation.

water :: MapGenSize optional

Shown as water coverage in the map generator GUI.

default_enable_all_autoplace_controls :: bool optional

Default: true

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

autoplace_controls :: dictionary[AutoplaceControlID → FrequencySizeRichness] optional

autoplace_settings :: dictionary["entity" or "tile" or "decorative" → AutoplaceSettings] optional

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

property_expression_names :: dictionary[string → string or bool or double] optional

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[MapPosition] optional

Array of the positions of the starting areas.

seed :: uint32 optional

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

width :: uint32 optional

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

height :: uint32 optional

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

starting_area :: MapGenSize optional

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

peaceful_mode :: bool optional

cliff_settings :: CliffPlacementSettings optional

Prototypes

Types