function default.grow_papyrus(pos, node)
pos.y = pos.y - 1
local name = minetest.get_node(pos).name
- if name ~= "default:dirt_with_grass" and name ~= "default:dirt" and
- name ~= "default:sand" then
+ if name ~= "default:dirt_with_grass" and name ~= "default:dirt" then
return
end
if not minetest.find_node_near(pos, 3, {"group:water"}) then
minetest.register_decoration({
deco_type = "schematic",
- place_on = {"default:dirt", "default:sand"},
+ place_on = {"default:dirt"},
sidelen = 16,
noise_params = {
offset = -0.3,
octaves = 3,
persist = 0.7
},
- biomes = {"savanna_swamp", "desert_ocean"},
+ biomes = {"savanna_swamp"},
y_min = 0,
y_max = 0,
schematic = minetest.get_modpath("default").."/schematics/papyrus.mts",