From 55aa01a6fc85b15cc528f862f87473afe779dd17 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 6 Sep 2017 03:03:02 +0200 Subject: [PATCH] Fix floting snow on mushrooms in cold taiga --- mods/MAPGEN/mcl_biomes/init.lua | 40 +++++++++++++++++++++++++++++++-- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/mods/MAPGEN/mcl_biomes/init.lua b/mods/MAPGEN/mcl_biomes/init.lua index d4081575f2..3dcd63f945 100644 --- a/mods/MAPGEN/mcl_biomes/init.lua +++ b/mods/MAPGEN/mcl_biomes/init.lua @@ -1588,7 +1588,7 @@ local function register_decorations() -- Fallen logs minetest.register_decoration({ deco_type = "schematic", - place_on = {"mcl_core:dirt_with_grass_snow", "mcl_core:dirt_with_grass", "mcl_core:podzol", "mcl_core:coarse_dirt"}, + place_on = {"mcl_core:dirt_with_grass", "mcl_core:podzol", "mcl_core:coarse_dirt"}, sidelen = 80, noise_params = { offset = 0.00018, @@ -1598,7 +1598,7 @@ local function register_decorations() octaves = 3, persist = 0.66 }, - biomes = {"mega_taiga", "mega_spruce_taiga", "taiga", "cold_taiga"}, + biomes = {"mega_taiga", "mega_spruce_taiga", "taiga"}, y_min = 1, y_max = mcl_vars.mg_overworld_max, schematic = { @@ -1622,6 +1622,42 @@ local function register_decorations() rotation = "random", }) + minetest.register_decoration({ + deco_type = "schematic", + place_on = {"mcl_core:dirt_with_grass_snow", "mcl_core:dirt_with_grass", "mcl_core:podzol", "mcl_core:podzol_snow", "mcl_core:coarse_dirt"}, + sidelen = 80, + noise_params = { + offset = 0.00018, + scale = 0.00011, + spread = {x = 250, y = 250, z = 250}, + seed = 2, + octaves = 3, + persist = 0.66 + }, + biomes = {"cold_taiga"}, + y_min = 1, + y_max = mcl_vars.mg_overworld_max, + schematic = { + size = {x = 4, y = 3, z = 1}, + data = { + {name = "air", prob = 0}, + {name = "air", prob = 0}, + {name = "air", prob = 0}, + {name = "air", prob = 0}, + {name = "mcl_core:sprucetree", param2 = 12, prob = 127}, + {name = "mcl_core:sprucetree", param2 = 12}, + {name = "mcl_core:sprucetree", param2 = 12}, + {name = "mcl_core:sprucetree", param2 = 12, prob = 127}, + {name = "air", prob = 0}, + {name = "air", prob = 0}, + {name = "air", prob = 0}, + {name = "air", prob = 0}, + }, + }, + flags = "place_center_x", + rotation = "random", + }) + minetest.register_decoration({ deco_type = "schematic", place_on = {"mcl_core:dirt_with_grass"},