All runtime MapGenSettings properties are optional.
Posted: Mon May 11, 2026 5:38 pm
https://lua-api.factorio.com/latest/con ... tings.html doesn't list any property as optional, however you can create a surface with an empty MapGenSettings /c game.create_surface("some-surface", {})
As such, all properties should be marked as optional. It'd also be good to specify what the defaults are, as only default_enable_all_autoplace_controls currently specifies a default. In particular, defaults for autoplace_settings and starting_area properties are ambiguous.
As such, all properties should be marked as optional. It'd also be good to specify what the defaults are, as only default_enable_all_autoplace_controls currently specifies a default. In particular, defaults for autoplace_settings and starting_area properties are ambiguous.