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:
15
devices.lua
15
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",
|
||||
|
Reference in New Issue
Block a user