mirror of
https://github.com/minetest/minetest_game.git
synced 2024-12-23 07:10:19 +01:00
Flowers: Keep mushrooms above water level
This commit is contained in:
parent
e7def5d4e6
commit
83c2a88c91
@ -20,7 +20,7 @@ end
|
|||||||
local function register_mushroom(name)
|
local function register_mushroom(name)
|
||||||
minetest.register_decoration({
|
minetest.register_decoration({
|
||||||
deco_type = "simple",
|
deco_type = "simple",
|
||||||
place_on = {"default:dirt_with_grass", "default:dirt"},
|
place_on = {"default:dirt_with_grass"},
|
||||||
sidelen = 16,
|
sidelen = 16,
|
||||||
noise_params = {
|
noise_params = {
|
||||||
offset = 0,
|
offset = 0,
|
||||||
@ -30,7 +30,7 @@ local function register_mushroom(name)
|
|||||||
octaves = 3,
|
octaves = 3,
|
||||||
persist = 0.6
|
persist = 0.6
|
||||||
},
|
},
|
||||||
y_min = -31000,
|
y_min = 1,
|
||||||
y_max = 30,
|
y_max = 30,
|
||||||
decoration = "flowers:"..name,
|
decoration = "flowers:"..name,
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user