Changed waterlily schematic for sand

This commit is contained in:
TenPlus1 2015-11-18 09:36:37 +00:00
parent b88d8e902c
commit 281010fb8c
2 changed files with 20 additions and 2 deletions

View File

@ -11,6 +11,7 @@ dofile(path.."banana_tree.lua")
dofile(path.."bamboo_tree.lua")
dofile(path.."birch_tree.lua")
dofile(path.."bush.lua")
dofile(path.."waterlily.lua")
--= Biomes (Minetest 0.4.13 and above)
@ -1033,7 +1034,7 @@ end
if minetest.registered_nodes["flowers:waterlily"] then
minetest.register_decoration({
deco_type = "schematic",
place_on = {"default:sand", "default:dirt"},
place_on = {"default:sand"},
sidelen = 16,
noise_params = {
offset = -0.12,
@ -1049,7 +1050,7 @@ if minetest.registered_nodes["flowers:waterlily"] then
},
y_min = 0,
y_max = 0,
schematic = minetest.get_modpath("flowers").."/schematics/waterlily.mts",
schematic = ethereal.waterlily,
rotation = "random",
})
end

17
schematics/waterlily.lua Normal file
View File

@ -0,0 +1,17 @@
-- Waterlily (built column by column, bottom to top)
local a = "default:sand"
local b = "default:water_source"
local c = "flowers:waterlily"
ethereal.waterlily = {
size = {x = 1, y = 3, z = 1},
data = {
{name=a, param1=255},
{name=b, param1=255},
{name=c, param1=255},
},
}