summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-06-09 18:37:35 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-06-09 18:37:35 -0400
commit807fae1943e808fa54c85df13cc07655e657029f (patch)
tree8b12b64261a77cc2054ddb32d2901d6d141b0e6b
parenta6cbee38ec616053b76f51290172210e250a27b4 (diff)
downloadpipeworks-807fae1943e808fa54c85df13cc07655e657029f.tar
pipeworks-807fae1943e808fa54c85df13cc07655e657029f.tar.gz
pipeworks-807fae1943e808fa54c85df13cc07655e657029f.tar.bz2
pipeworks-807fae1943e808fa54c85df13cc07655e657029f.tar.xz
pipeworks-807fae1943e808fa54c85df13cc07655e657029f.zip
Made spigot animated, so the water actually looks like it's pouring
-rw-r--r--devices.lua37
1 files changed, 33 insertions, 4 deletions
diff --git a/devices.lua b/devices.lua
index 20e3019..3c8c003 100644
--- a/devices.lua
+++ b/devices.lua
@@ -340,11 +340,40 @@ minetest.register_node("pipeworks:spigot_pouring", {
tiles = {
"pipeworks_spigot_sides.png",
"default_water.png^pipeworks_spigot_bottom2.png",
- "default_water.png^pipeworks_spigot_sides2.png",
- "default_water.png^pipeworks_spigot_sides2.png",
- "default_water.png^pipeworks_spigot_sides2.png",
- "default_water.png^pipeworks_spigot_sides2.png"
+ { name = "default_water_flowing_animated.png^pipeworks_spigot_sides2.png",
+ animation = {
+ type = "vertical_frames",
+ aspect_w=16,
+ aspect_h=16,
+ length=0.8
+ }
+ },
+ { name = "default_water_flowing_animated.png^pipeworks_spigot_sides2.png",
+ animation = {
+ type = "vertical_frames",
+ aspect_w=16,
+ aspect_h=16,
+ length=0.8
+ }
+ },
+ { name = "default_water_flowing_animated.png^pipeworks_spigot_sides2.png",
+ animation = {
+ type = "vertical_frames",
+ aspect_w=16,
+ aspect_h=16,
+ length=0.8
+ }
+ },
+ { name = "default_water_flowing_animated.png^pipeworks_spigot_sides2.png",
+ animation = {
+ type = "vertical_frames",
+ aspect_w=16,
+ aspect_h=16,
+ length=0.8
+ }
+ },
},
+
use_texture_alpha = true,
sunlight_propagates = true,
paramtype = "light",