Added accelrator and teleport pipes

This commit is contained in:
Novatux
2013-01-19 13:14:41 +01:00
parent 143aa0ee04
commit aea0207b7f
3 changed files with 117 additions and 17 deletions

View File

@ -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")