From: paramat Date: Fri, 24 Jul 2015 20:33:13 +0000 (+0100) Subject: Flowers: Keep mushrooms above water level X-Git-Tag: 0.4.13~26 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=83c2a88c91cc3e1413f4e89bc9340253e5995628;p=oweals%2Fminetest_game.git Flowers: Keep mushrooms above water level --- diff --git a/mods/flowers/mapgen.lua b/mods/flowers/mapgen.lua index 9c03e2a1..151c8e8f 100644 --- a/mods/flowers/mapgen.lua +++ b/mods/flowers/mapgen.lua @@ -20,7 +20,7 @@ end local function register_mushroom(name) minetest.register_decoration({ deco_type = "simple", - place_on = {"default:dirt_with_grass", "default:dirt"}, + place_on = {"default:dirt_with_grass"}, sidelen = 16, noise_params = { offset = 0, @@ -30,7 +30,7 @@ local function register_mushroom(name) octaves = 3, persist = 0.6 }, - y_min = -31000, + y_min = 1, y_max = 30, decoration = "flowers:"..name, })