summaryrefslogtreecommitdiff
path: root/tubes.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tubes.lua')
-rw-r--r--tubes.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/tubes.lua b/tubes.lua
index 9789143..90e6ecf 100644
--- a/tubes.lua
+++ b/tubes.lua
@@ -371,3 +371,13 @@ register_tube("pipeworks:detector_tube_off","Detector tube segment",detector_pla
groups={mesecon=2},
mesecons={receptor={state="off",
rules=mesecons_rules}}})
+
+register_tube("pipeworks:accelerator_tube","Accelerator pneumatic tube segment",plain_textures,noctr_textures,end_textures,
+ short_texture,inv_texture,
+ {tube={can_go=function(pos,node,velocity,stack)
+ velocity.speed=velocity.speed+1
+ return meseadjlist
+ end}})
+
+modpath=minetest.get_modpath("pipeworks")
+dofile(modpath.."/teleport_tube.lua") \ No newline at end of file