Types/MapGenSize: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(link type)
(0.17)
Line 1: Line 1:
A [[types/string|string]] specifying an amount. Possible values are:
A floating point number specifying an amount. For backwards compatibility, MapGenSizes can also be specified as one of the following [[types/string|strings]], which will be converted to a number:
 
* "none" - equivalent to 0
* "none"
* "very-low", "very-small", "very-poor" - equivalent to 1/2
* "very-low", "very-small", "very-poor"
* "low", "small", "poor" - equivalent to 1/sqrt(2)
* "low", "small", "poor"
* "normal", "medium", "regular" - equivalent to 1
* "normal", "medium", "regular"
* "high", "big", "good" - equivalent to sqrt(2)
* "high", "big", "good"
* "very-high", "very-big", "very-good" - equivalent to 2
* "very-high", "very-big", "very-good"


Each of the values in a triplet (such as "low", "small", and "poor") are synonymous.
Each of the values in a triplet (such as "low", "small", and "poor") are synonymous.

Revision as of 18:04, 7 August 2019

A floating point number specifying an amount. For backwards compatibility, MapGenSizes can also be specified as one of the following strings, which will be converted to a number:

  • "none" - equivalent to 0
  • "very-low", "very-small", "very-poor" - equivalent to 1/2
  • "low", "small", "poor" - equivalent to 1/sqrt(2)
  • "normal", "medium", "regular" - equivalent to 1
  • "high", "big", "good" - equivalent to sqrt(2)
  • "very-high", "very-big", "very-good" - equivalent to 2

Each of the values in a triplet (such as "low", "small", and "poor") are synonymous.