From aea0207b7fa5c6a1024efe306f4fe05c70a6085e Mon Sep 17 00:00:00 2001 From: Novatux Date: Sat, 19 Jan 2013 13:14:41 +0100 Subject: Added accelrator and teleport pipes --- tubes.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tubes.lua') 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 -- cgit v1.2.3