From dad386b56499eb7a2183062bb09d51b039f8ba99 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Fri, 16 Jan 2015 04:38:17 -0500 Subject: use animated water for pouring spigot also remove a couple of extranous .mtl files and a redundant spigot texture --- devices.lua | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'devices.lua') diff --git a/devices.lua b/devices.lua index 045b2e9..89806d9 100644 --- a/devices.lua +++ b/devices.lua @@ -191,7 +191,7 @@ minetest.register_node("pipeworks:spigot", { description = "Spigot outlet", drawtype = "mesh", mesh = "pipeworks_spigot.obj", - tiles = { "pipeworks_spigot_off.png" }, + tiles = { "pipeworks_spigot.png" }, sunlight_propagates = true, paramtype = "light", paramtype2 = "facedir", @@ -218,7 +218,18 @@ minetest.register_node("pipeworks:spigot_pouring", { description = "Spigot outlet", drawtype = "mesh", mesh = "pipeworks_spigot_pouring.obj", - tiles = { "pipeworks_spigot_pouring.png" }, + tiles = { + { + name = "default_water_flowing_animated.png", + animation = { + type = "vertical_frames", + aspect_w = 16, + aspect_h = 16, + length = 0.8, + }, + }, + { name = "pipeworks_spigot.png" } + }, sunlight_propagates = true, paramtype = "light", paramtype2 = "facedir", -- cgit v1.2.3