Flowers: Fix misaligned waterlily texture
authorYutao Yuan <yyt16384@gmail.com>
Fri, 17 Jun 2016 14:47:43 +0000 (22:47 +0800)
committerparamat <mat.gregory@virginmedia.com>
Tue, 21 Jun 2016 01:21:00 +0000 (02:21 +0100)
Previously waterlily has misaligned top and bottom textures and looks
different when viewed from below.

This also hides the flower in bottom texture.

mods/flowers/init.lua
mods/flowers/textures/flowers_waterlily_bottom.png [new file with mode: 0644]

index 2d8c93e4ab20810acd8ca98aeb7f75f253a64df0..2f3cfe1b3fc7d0f9e8ed93374fc32c1cc4cc60e3 100644 (file)
@@ -217,7 +217,7 @@ minetest.register_node("flowers:waterlily", {
        drawtype = "nodebox",
        paramtype = "light",
        paramtype2 = "facedir",
-       tiles = {"flowers_waterlily.png"},
+       tiles = {"flowers_waterlily.png", "flowers_waterlily_bottom.png"},
        inventory_image = "flowers_waterlily.png",
        wield_image = "flowers_waterlily.png",
        liquids_pointable = true,
diff --git a/mods/flowers/textures/flowers_waterlily_bottom.png b/mods/flowers/textures/flowers_waterlily_bottom.png
new file mode 100644 (file)
index 0000000..3dbeaf4
Binary files /dev/null and b/mods/flowers/textures/flowers_waterlily_bottom.png differ