mirror of
https://github.com/mt-mods/pipeworks.git
synced 2024-12-25 02:10:23 +01:00
Made spigot animated, so the water actually looks like it's pouring
This commit is contained in:
parent
a6cbee38ec
commit
807fae1943
37
devices.lua
37
devices.lua
@ -340,11 +340,40 @@ minetest.register_node("pipeworks:spigot_pouring", {
|
|||||||
tiles = {
|
tiles = {
|
||||||
"pipeworks_spigot_sides.png",
|
"pipeworks_spigot_sides.png",
|
||||||
"default_water.png^pipeworks_spigot_bottom2.png",
|
"default_water.png^pipeworks_spigot_bottom2.png",
|
||||||
"default_water.png^pipeworks_spigot_sides2.png",
|
{ name = "default_water_flowing_animated.png^pipeworks_spigot_sides2.png",
|
||||||
"default_water.png^pipeworks_spigot_sides2.png",
|
animation = {
|
||||||
"default_water.png^pipeworks_spigot_sides2.png",
|
type = "vertical_frames",
|
||||||
"default_water.png^pipeworks_spigot_sides2.png"
|
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,
|
use_texture_alpha = true,
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
Loading…
Reference in New Issue
Block a user