diff options
author | VanessaE <vanessaezekowitz@gmail.com> | 2013-01-19 08:44:26 -0800 |
---|---|---|
committer | VanessaE <vanessaezekowitz@gmail.com> | 2013-01-19 08:44:26 -0800 |
commit | f8eb154f7ab446dc30080868b8c5971949cac4d0 (patch) | |
tree | 9fa421bf6727d7589e1d50512d5bafd9bed20d7e /tubes.lua | |
parent | 6202e82163bad1bf0160505bc384396133d9611f (diff) | |
parent | a77095ebe6e11ceab88d8b6c8a68a9b6c4440d3f (diff) |
Merge pull request #8 from Novatux/master
Teleporter and accelerator tubes, crafting recipe for detector pipe, autocrafter
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 |