1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2025-06-29 23:00:49 +02:00

use animated water for pouring spigot

also remove a couple of extranous .mtl files and a redundant spigot texture
This commit is contained in:
Vanessa Ezekowitz
2015-01-16 04:38:17 -05:00
parent 50359104c7
commit dad386b564
7 changed files with 505 additions and 487 deletions

View File

@ -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",