Factorio Runtime DocsVersion 2.0.14

MapGenSize :: union

A floating point number specifying an amount.

For backwards compatibility, MapGenSizes can also be specified as a string, which will be converted to a number (when queried, a number will always be returned).

The map generation algorithm officially supports the range of values the in-game map generation screen shows (specifically 0 and values from 1/6 to 6). Values outside this range are not guaranteed to work as expected.

Union members

float

Specifying a map gen dimension.

"none"

equivalent to 0.

"very-low"

equivalent to 1/2.

"very-small"

equivalent to 1/2.

"very-poor"

equivalent to 1/2.

"low"

equivalent to 1/sqrt(2).

"small"

equivalent to 1/sqrt(2).

"poor"

equivalent to 1/sqrt(2).

"normal"

equivalent to 1.

"medium"

equivalent to 1.

"regular"

equivalent to 1.

"high"

equivalent to sqrt(2).

"big"

equivalent to sqrt(2).

"good"

equivalent to sqrt(2).

"very-high"

equivalent to 2.

"very-big"

equivalent to 2.

"very-good"

equivalent to 2.

Classes

Concepts

Events

Defines