Flowers: Make waterlily floodable
authorparamat <mat.gregory@virginmedia.com>
Thu, 30 Jun 2016 21:16:46 +0000 (22:16 +0100)
committerparamat <mat.gregory@virginmedia.com>
Fri, 1 Jul 2016 06:05:53 +0000 (07:05 +0100)
When waterlilies are placed near river water source make flowing river
water remove waterlilies instead of flowing around them in an ugly way

mods/flowers/init.lua

index 2f3cfe1b3fc7d0f9e8ed93374fc32c1cc4cc60e3..2de575fe28ab7e3d0ca234bb43c786a40cdb08fc 100644 (file)
@@ -224,6 +224,7 @@ minetest.register_node("flowers:waterlily", {
        walkable = false,
        buildable_to = true,
        sunlight_propagates = true,
+       floodable = true,
        groups = {snappy = 3, flower = 1},
        sounds = default.node_sound_leaves_defaults(),
        node_placement_prediction = "",