From b4b5cb2879725b0600de1d1827643c97b1189f8f Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sun, 10 Mar 2019 18:42:53 +0100 Subject: [PATCH] Tweak mesa-underground transition --- mods/MAPGEN/mcl_biomes/init.lua | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/mods/MAPGEN/mcl_biomes/init.lua b/mods/MAPGEN/mcl_biomes/init.lua index 57807ebd60..35669e8704 100644 --- a/mods/MAPGEN/mcl_biomes/init.lua +++ b/mods/MAPGEN/mcl_biomes/init.lua @@ -1270,7 +1270,7 @@ local function register_biome_ores() clust_size = 3, y_min = mcl_worlds.layer_to_y(32), y_max = mcl_worlds.layer_to_y(79), - biomes = { "Mesa", "Mesa_sandlevel", "Mesa_ocean", "MesaPlateauF", "MesaPlateauF_sandlevel", "MesaPlatauF_ocean" }, + biomes = { "Mesa", "Mesa_sandlevel", "Mesa_ocean", "MesaPlateauF", "MesaPlateauF_sandlevel", "MesaPlateauF_ocean" }, }) end end @@ -1334,23 +1334,21 @@ local function register_biomelike_ores() }) - -- Small hack to make sure stone appears at ca. sea level in Mesa biomes + -- For a transition from stone to hardened clay in mesa biomes that is not perfectly flat minetest.register_ore({ - ore_type = "sheet", + ore_type = "stratum", ore = "mcl_core:stone", - noise_threshold = -100, - noise_params = {offset=0, scale=1, spread={x=3100, y=3100, z=3100}, octaves=1, persist=1.00}, + wherein = {"group:hardened_clay"}, + noise_params = {offset=-6, scale=2, spread={x=25, y=25, z=25}, octaves=1, persist=0.60}, + stratum_thickness = 8, biomes = { - "Mesa", "Mesa_sandlevel", "Mesa_ocean", "Mesa_deep_ocean", "Mesa_underground", - "MesaPlateauF", "MesaPlateauF_sandlevel", "MesaPlateauF_ocean", "MesaPlateauF_deep_ocean", "MesaPlateauF_underground", + "Mesa_sandlevel", "Mesa_ocean", + "MesaPlateauF_sandlevel", "MesaPlateauF_ocean", }, - wherein = {"mcl_colorblocks:hardened_clay"}, - column_height_min = 32, - column_height_max = 32, - y_min = -32, + y_min = -4, y_max = 0, - }) + }) -- Mesa strata (registered as sheet ores)