Types/MapGenSize

From Official Factorio Wiki
Revision as of 09:28, 16 August 2023 by BilkaBot (talk | contribs) (Migrated prototype doc to separate website)
Jump to navigation Jump to search

The prototype docs have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/types/MapGenSize.html

This wiki page is no longer updated and will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.


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. In-game the values can be set from 0.166 to 6 via the GUI (respective to the percentages), while 0 is used to disable the autoplace control.