minetest.register_alias("pipeworks:pipe", "pipeworks:pipe_110000_empty")
local DEBUG = false
+local CYCLIC = true
pipeworks_liquid_texture = "default_water.png"
break
end
until false
- meta:set_int("tubedir",n)
+ if CYCLIC then
+ meta:set_int("tubedir",n)
+ end
velocity.x=tubes[n].vect.x*vel.speed
velocity.y=tubes[n].vect.y*vel.speed
velocity.z=tubes[n].vect.z*vel.speed
break
end
until false
+ if CYCLIC then
+ meta:set_int("tubedir",n)
+ end
velocity.x=chests[n].vect.x*speed
velocity.y=chests[n].vect.y*speed
velocity.z=chests[n].vect.z*speed