specify island size (or map type settings in general)
Posted: Sun Mar 10, 2019 11:01 am
Hi,
i really love what the "island" map type is generating! So i was playing around with it a bit.
Unless i overlooked, i don't think that it is currently possible to specify the island size property when creating a surface with create_surface.
since adding island_size directly to the MapGenSettings would be messy since it is not used in general, the proposal is to specify it as such:
i really love what the "island" map type is generating! So i was playing around with it a bit.
Unless i overlooked, i don't think that it is currently possible to specify the island size property when creating a surface with create_surface.
since adding island_size directly to the MapGenSettings would be messy since it is not used in general, the proposal is to specify it as such:
Code: Select all
game.create_surface("surface_name", {
map_type_settings = { --optional, if missing use defaults
name = "island" --which map type to use on this surface
settings = { --each map type has a different settings element
island_size = 0.33 --or however it is modelled
}
}
}