From 122d6fc5fc77646505efa1ff6755e9c5fc0623f7 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Mon, 21 Aug 2017 15:14:33 +0200 Subject: [PATCH] Make mushrooms more common --- mods/MAPGEN/mcl_biomes/init.lua | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a/mods/MAPGEN/mcl_biomes/init.lua b/mods/MAPGEN/mcl_biomes/init.lua index 2e0d9adc50..f57ef42310 100644 --- a/mods/MAPGEN/mcl_biomes/init.lua +++ b/mods/MAPGEN/mcl_biomes/init.lua @@ -1652,24 +1652,47 @@ local function register_decorations() deco_type = "simple", place_on = {"mcl_core:mycelium"}, sidelen = 80, - fill_ratio = 0.003, + fill_ratio = 0.009, biomes = {"mushroom"}, + noise_threshold = 2.0, y_min = mcl_vars.mg_overworld_min, y_max = mcl_vars.mg_overworld_max, decoration = "mcl_mushrooms:mushroom_red", }) - minetest.register_decoration({ deco_type = "simple", place_on = {"mcl_core:mycelium"}, sidelen = 80, - fill_ratio = 0.003, + fill_ratio = 0.009, biomes = {"mushroom"}, y_min = mcl_vars.mg_overworld_min, y_max = mcl_vars.mg_overworld_max, decoration = "mcl_mushrooms:mushroom_brown", }) + -- Mushrooms in taigas + minetest.register_decoration({ + deco_type = "simple", + place_on = {"mcl_core:podzol"}, + sidelen = 80, + fill_ratio = 0.003, + biomes = {"taiga", "mega_taiga"}, + y_min = mcl_vars.mg_overworld_min, + y_max = mcl_vars.mg_overworld_max, + decoration = "mcl_mushrooms:mushroom_red", + }) + minetest.register_decoration({ + deco_type = "simple", + place_on = {"mcl_core:podzol"}, + sidelen = 80, + fill_ratio = 0.003, + biomes = {"taiga", "mega_taiga"}, + y_min = mcl_vars.mg_overworld_min, + y_max = mcl_vars.mg_overworld_max, + decoration = "mcl_mushrooms:mushroom_brown", + }) + + -- Mushrooms next to trees local mushrooms = {"mcl_mushrooms:mushroom_red", "mcl_mushrooms:mushroom_brown"} local mseeds = { 7133, 8244 } @@ -1681,7 +1704,7 @@ local function register_decorations() sidelen = 16, noise_params = { offset = 0, - scale = 0.006, + scale = 0.003, spread = {x = 250, y = 250, z = 250}, seed = mseeds[m], octaves = 3,