From 6f9d8a5663ab794b5253c3eeff10c6d618d37662 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 31 Aug 2017 06:03:39 +0200 Subject: [PATCH] Tweak fallen logs; add mushrooms again --- mods/MAPGEN/mcl_biomes/init.lua | 61 ++++++++++++++------------------- 1 file changed, 25 insertions(+), 36 deletions(-) diff --git a/mods/MAPGEN/mcl_biomes/init.lua b/mods/MAPGEN/mcl_biomes/init.lua index 216ac16938..b2719ce15a 100644 --- a/mods/MAPGEN/mcl_biomes/init.lua +++ b/mods/MAPGEN/mcl_biomes/init.lua @@ -1377,14 +1377,21 @@ local function register_decorations() y_min = 1, y_max = mcl_vars.mg_overworld_max, schematic = { - size = {x = 3, y = 3, z = 1}, + size = {x = 5, y = 3, z = 1}, data = { {name = "air", prob = 0}, + {name = "mcl_mushrooms:mushroom_brown", prob = 127}, {name = "air", prob = 0}, {name = "air", prob = 0}, + {name = "mcl_mushrooms:mushroom_red", prob = 220}, + {name = "air", prob = 0}, {name = "mcl_core:sprucetree", param2 = 12, prob = 191}, {name = "mcl_core:sprucetree", param2 = 12}, + {name = "mcl_core:sprucetree", param2 = 12}, {name = "mcl_core:sprucetree", param2 = 12, prob = 127}, + {name = "mcl_core:sprucetree", param2 = 12, prob = 127}, + {name = "air", prob = 0}, + {name = "air", prob = 0}, {name = "air", prob = 0}, {name = "air", prob = 0}, {name = "air", prob = 0}, @@ -1427,56 +1434,35 @@ local function register_decorations() rotation = "random", }) - minetest.register_decoration({ - deco_type = "schematic", - place_on = {"mcl_core:dirt_with_grass"}, - sidelen = 16, - noise_params = { - offset = 0, - scale = 0.001, - spread = {x = 250, y = 250, z = 250}, - seed = 2, - octaves = 3, - persist = 0.66 - }, - biomes = {"savanna"}, - y_min = 1, - y_max = mcl_vars.mg_overworld_max, - schematic = { - size = {x = 3, y = 2, z = 1}, - data = { - {name = "air", prob = 0}, - {name = "air", prob = 0}, - {name = "air", prob = 0}, - {name = "mcl_core:acaciatree", param2 = 12, prob = 191}, - {name = "mcl_core:acaciatree", param2 = 12}, - {name = "mcl_core:acaciatree", param2 = 12, prob = 127}, - }, - }, - flags = "place_center_x", - rotation = "random", - }) - minetest.register_decoration({ deco_type = "schematic", place_on = {"mcl_core:dirt_with_grass", "mcl_core:dirt", "mcl_core:podzol"}, sidelen = 80, - fill_ratio = 0.01, + fill_ratio = 0.005, biomes = {"rainforest", "rainforest_swamp"}, y_min = 1, y_max = mcl_vars.mg_overworld_max, schematic = { - size = {x = 3, y = 3, z = 1}, + size = {x = 6, y = 3, z = 1}, data = { + {name = "air", prob = 0}, + {name = "mcl_mushrooms:mushroom_brown", prob = 50}, + {name = "air", prob = 0}, {name = "air", prob = 0}, {name = "air", prob = 0}, {name = "air", prob = 0}, {name = "mcl_core:jungletree", param2 = 12, prob = 191}, + {name = "mcl_core:jungletree", param2 = 12, prob = 191}, {name = "mcl_core:jungletree", param2 = 12}, + {name = "mcl_core:jungletree", param2 = 12}, + {name = "mcl_core:jungletree", param2 = 12, prob = 191}, {name = "mcl_core:jungletree", param2 = 12, prob = 127}, {name = "air", prob = 0}, {name = "air", prob = 0}, {name = "air", prob = 0}, + {name = "air", prob = 0}, + {name = "air", prob = 0}, + {name = "air", prob = 0}, }, }, flags = "place_center_x", @@ -1499,17 +1485,20 @@ local function register_decorations() y_min = 1, y_max = mcl_vars.mg_overworld_max, schematic = { - size = {x = 3, y = 3, z = 1}, + size = {x = 4, y = 3, z = 1}, data = { {name = "air", prob = 0}, + {name = "mcl_mushrooms:mushroom_brown", prob = 96}, + {name = "mcl_mushrooms:mushroom_red", prob = 96}, {name = "air", prob = 0}, - {name = "air", prob = 0}, - {name = "mcl_core:tree", param2 = 12, prob = 191}, + {name = "mcl_core:tree", param2 = 12, prob = 127}, + {name = "mcl_core:tree", param2 = 12}, {name = "mcl_core:tree", param2 = 12}, {name = "mcl_core:tree", param2 = 12, prob = 127}, {name = "air", prob = 0}, {name = "air", prob = 0}, {name = "air", prob = 0}, + {name = "air", prob = 0}, }, }, flags = "place_center_x",