diff options
author | Novatux <nathanael.courant@laposte.net> | 2013-01-19 13:14:41 +0100 |
---|---|---|
committer | Novatux <nathanael.courant@laposte.net> | 2013-01-19 13:14:41 +0100 |
commit | aea0207b7fa5c6a1024efe306f4fe05c70a6085e (patch) | |
tree | 214a1def744581c433ec21532d5e91ac42b314fb /tubes.lua | |
parent | 143aa0ee0404a05bc0f0a22bacd603df8c0df7f4 (diff) |
Added accelrator and teleport pipes
Diffstat (limited to 'tubes.lua')
-rw-r--r-- | tubes.lua | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 |