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
|
|
|
|
|
2024-10-10 11:15:06 +03:00
|
|
|
minetest.override_item("flowers:waterlily", {walkable = true})
|
2022-04-09 13:38:33 +03:00
|
|
|
|
|
|
|
if minetest.registered_nodes["flowers:waterlily_waving"] then
|
|
|
|
|
2024-10-10 11:15:06 +03:00
|
|
|
minetest.override_item("flowers:waterlily_waving", {walkable = true})
|
2022-04-09 13:38:33 +03:00
|
|
|
end
|
2016-12-06 13:48:31 +03:00
|
|
|
end
|