Add empty autoplace to out-of-map tiles
Posted: Sun Jun 19, 2022 8:05 pm
A small annoyance is out-of-map tiles cannot be used to make an empty map. The alternative is overwriting the tiles on every chunk generation.
is sufficient to have out-of-map tiles be autoplaced, but not interfere with anything else.
These are a small map_gen_settings to create an empty map. Only possible if out-of-map can be autoplaced.
The request is specifically to add on the prototype so mods don't have to modify the data stage for an empty map, or write every single tile after the default chunkgen took it's time to make the tiles.
Code: Select all
data.raw.tile["out-of-map"].autoplace = { default_enabled = false }
These are a small map_gen_settings to create an empty map. Only possible if out-of-map can be autoplaced.
Code: Select all
local my_map_gen_settings = {
default_enable_all_autoplace_controls = false,
property_expression_names = {cliffiness = 0},
autoplace_settings = {tile = {settings = { ["out-of-map"] = {frequency="normal", size="normal", richness="normal"} }}},
starting_area = "none"
}
Code: Select all
autoplace = { default_enabled = false }