From 91b92a2cfdfae2fe30cb77584a3ad9ac190a3ca5 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 16 Aug 2017 14:06:01 +0200 Subject: [PATCH] Fix some realm bugs --- mods/MAPGEN/mcl_biomes/init.lua | 12 +++++------- mods/MAPGEN/mcl_mapgen_core/init.lua | 8 +++++--- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/mods/MAPGEN/mcl_biomes/init.lua b/mods/MAPGEN/mcl_biomes/init.lua index a1861582a8..a84ad616d4 100644 --- a/mods/MAPGEN/mcl_biomes/init.lua +++ b/mods/MAPGEN/mcl_biomes/init.lua @@ -1078,7 +1078,6 @@ local function register_biomelike_ores() }, }) - end @@ -1487,7 +1486,7 @@ local function register_decorations() deco_type = "simple", place_on = {"mcl_nether:netherrack"}, sidelen = 80, - fill_ratio = 0.4, + fill_ratio = 0.01, biomes = {"nether"}, y_min = -6000, y_max = 31000, @@ -1498,20 +1497,19 @@ local function register_decorations() deco_type = "simple", place_on = {"mcl_nether:netherrack"}, sidelen = 80, - fill_ratio = 0.3, + fill_ratio = 0.01, biomes = {"nether"}, y_min = -6000, y_max = 31000, decoration = "mcl_mushrooms:mushroom_brown", }) - -- FIXME: Does the placement of eternal fire and nether wart actually work? - --Fire + --Eternal Fire minetest.register_decoration({ deco_type = "simple", place_on = {"mcl_nether:netherrack"}, - sidelen = 8, - fill_ratio = 0.9, + sidelen = 16, + fill_ratio = 0.2, biomes = {"nether"}, y_min = -6000, y_max = 31000, diff --git a/mods/MAPGEN/mcl_mapgen_core/init.lua b/mods/MAPGEN/mcl_mapgen_core/init.lua index f3e928e687..4fc9b3293f 100644 --- a/mods/MAPGEN/mcl_mapgen_core/init.lua +++ b/mods/MAPGEN/mcl_mapgen_core/init.lua @@ -1244,14 +1244,16 @@ minetest.register_on_generated(function(minp, maxp) elseif y == BEDROCK_MAX -4 then -- 100% setdata = c_bedrock - elseif y < BEDROCK_MIN then + elseif y < BEDROCK_MIN and y > -1000 then setdata = c_void + elseif y > 1000 and y < 2000 then + setdata = c_stone end else -- Perfectly flat bedrock layer(s) if y >= BEDROCK_MIN and y <= BEDROCK_MAX then setdata = c_bedrock - elseif y < BEDROCK_MIN then + elseif y < BEDROCK_MIN and y > -1000 then setdata = c_void end end @@ -1259,7 +1261,7 @@ minetest.register_on_generated(function(minp, maxp) if setdata then data[p_pos] = setdata lvm_used = true - elseif mcl_vars.mg_lava and y <= mcl_vars.mg_lava_overworld_max then + elseif mcl_vars.mg_lava and y <= mcl_vars.mg_lava_overworld_max and y >= mcl_vars.mg_overworld_min then if data[p_pos] == c_air then data[p_pos] = c_lava end