The map looks great, but I'm not sure that the settings are being used on the first chunk of a new world (clearly they are as new chunks are generated) and not sure if I'm using the best (or if there is a best) order. I've tried wrapping it in minetest.register_on_mods_loaded(function() but it doesn't seem to make a difference or to be necessary. Suggestions for making sure it starts up consistently on a new world?
Code: Select all
-- Set core mgv7 flags
minetest.set_mapgen_setting("mgv7_spflags", "nomountains,noridges,nofloatlands,nocaverns", true)
minetest.set_mapgen_setting("mg_flags", "nocaves,nodungeons,light,decorations,biomes,ores", true)
minetest.set_mapgen_setting_noiseparams(
"mgv7_np_terrain_base",
{
octaves = 5,
lacunarity = 2.0999999,
persistence = 0.800000012,
spread = {x = 1600, y = 1600, z = 1600},
scale = 20,
seed = 82341,
flags = "defaults",
offset = 4
},
true
)
minetest.set_mapgen_setting_noiseparams(
"mgv7_np_terrain_alt",
{
octaves = 5,
lacunarity = 2,
persistence = 0.600000024,
spread = {x = 600, y = 600, z = 600},
scale = 15,
seed = 82341,
flags = "defaults",
offset = 6
},
true
)
minetest.set_mapgen_setting_noiseparams(
"mgv7_np_height_select",
{
octaves = 6,
lacunarity = 2.0999999,
persistence = 0.699999988,
spread = {x = 1000, y = 1000, z = 1000},
scale = 4.5,
seed = 4213,
flags = "eased",
offset = -7
},
true
)