From d866b61d1c40039bcba27dbd0bbeb3d4fb465c05 Mon Sep 17 00:00:00 2001 From: cora Date: Sun, 23 Oct 2022 14:53:35 +0200 Subject: [PATCH] Add lower cavern threshhold for all mgs that support it --- mods/MAPGEN/mcl_mapgen_core/init.lua | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/mods/MAPGEN/mcl_mapgen_core/init.lua b/mods/MAPGEN/mcl_mapgen_core/init.lua index e09a86ffe5..724c576a92 100644 --- a/mods/MAPGEN/mcl_mapgen_core/init.lua +++ b/mods/MAPGEN/mcl_mapgen_core/init.lua @@ -105,7 +105,15 @@ if superflat then end if mg_name == "v7" then - minetest.set_mapgen_setting("mgv7_cavern_threshold", "0.15", true) + minetest.set_mapgen_setting("mgv7_cavern_threshold", "0.20", true) +elseif mg_name == "valleys" then + minetest.set_mapgen_setting("mgvalleys_cavern_threshold", "0.20", true) +elseif mg_name == "carpathian" then + minetest.set_mapgen_setting("mgcarpathian_cavern_threshold", "0.20", true) +elseif mg_name == "v5" then + minetest.set_mapgen_setting("mgv5_cavern_threshold", "0.20", true) +elseif mg_name == "fractal" then + minetest.set_mapgen_setting("mgfractal_cavern_threshold", "0.20", true) end local mg_flags_str = ""