Flowers: Make flowers wave when waving shader enabled
authorparamat <mat.gregory@virginmedia.com>
Sun, 6 Sep 2015 05:03:08 +0000 (06:03 +0100)
committerparamat <mat.gregory@virginmedia.com>
Thu, 10 Sep 2015 15:34:18 +0000 (16:34 +0100)
mods/flowers/init.lua

index bb2f30112dab0b029091485eb739477b41816e5c..af5da2178596af474421049473aa3ee32c4a7a1b 100644 (file)
@@ -39,6 +39,7 @@ local function add_simple_flower(name, desc, box, f_groups)
        minetest.register_node("flowers:" .. name, {
                description = desc,
                drawtype = "plantlike",
+               waving = 1,
                tiles = {"flowers_" .. name .. ".png"},
                inventory_image = "flowers_" .. name .. ".png",
                wield_image = "flowers_" .. name .. ".png",