2015-11-18 12:36:37 +03:00
|
|
|
|
2016-05-17 23:40:05 +03:00
|
|
|
-- waterlily
|
2015-11-18 12:36:37 +03:00
|
|
|
|
|
|
|
ethereal.waterlily = {
|
2022-09-30 19:26:44 +03:00
|
|
|
|
2015-11-18 12:36:37 +03:00
|
|
|
size = {x = 1, y = 3, z = 1},
|
2022-09-30 19:26:44 +03:00
|
|
|
|
2015-11-18 12:36:37 +03:00
|
|
|
data = {
|
2016-05-17 23:40:05 +03:00
|
|
|
{name = "default:sand", param1 = 255},
|
|
|
|
{name = "default:water_source", param1 = 255},
|
|
|
|
{name = "flowers:waterlily", param1 = 255},
|
2022-09-30 19:26:44 +03:00
|
|
|
}
|
2015-11-18 12:36:37 +03:00
|
|
|
}
|
2015-11-19 12:25:55 +03:00
|
|
|
|
2022-09-30 19:26:44 +03:00
|
|
|
|
2016-12-06 13:48:31 +03:00
|
|
|
if ethereal.lilywalk == true then
|
|
|
|
|
|
|
|
minetest.override_item("flowers:waterlily", {
|
2022-04-09 13:38:33 +03:00
|
|
|
walkable = true
|
2016-12-06 13:48:31 +03:00
|
|
|
})
|
2022-04-09 13:38:33 +03:00
|
|
|
|
|
|
|
if minetest.registered_nodes["flowers:waterlily_waving"] then
|
|
|
|
|
|
|
|
minetest.override_item("flowers:waterlily_waving", {
|
|
|
|
walkable = true
|
|
|
|
})
|
|
|
|
end
|
2016-12-06 13:48:31 +03:00
|
|
|
end
|