summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanessaE <vanessaezekowitz@gmail.com>2013-06-28 06:06:57 -0700
committerVanessaE <vanessaezekowitz@gmail.com>2013-06-28 06:06:57 -0700
commit5aceb445c4402cd9961a7d5e8506fec8041a8034 (patch)
tree4ab2b69fdf54e54f4da2e24094d58904782d7a25
parent01bfa588cebf6074422bc7970da2df8953a4a805 (diff)
parent6ca5da4c3acc6fea00deb05df3253627183c0fb3 (diff)
downloadpipeworks-5aceb445c4402cd9961a7d5e8506fec8041a8034.tar
pipeworks-5aceb445c4402cd9961a7d5e8506fec8041a8034.tar.gz
pipeworks-5aceb445c4402cd9961a7d5e8506fec8041a8034.tar.bz2
pipeworks-5aceb445c4402cd9961a7d5e8506fec8041a8034.tar.xz
pipeworks-5aceb445c4402cd9961a7d5e8506fec8041a8034.zip
Merge pull request #43 from Novatux/crossing
Add crossing tubes
-rw-r--r--tubes.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/tubes.lua b/tubes.lua
index 7ea3410..8d1b5b5 100644
--- a/tubes.lua
+++ b/tubes.lua
@@ -482,6 +482,12 @@ register_tube("pipeworks:accelerator_tube","Accelerator pneumatic tube segment",
return notvel(meseadjlist,velocity)
end}})
+egister_tube("pipeworks:crossing_tube","Crossing tube segment",accelerator_plain_textures,
+ accelerator_noctr_textures,accelerator_end_textures,accelerator_short_texture,accelerator_inv_texture,
+ {tube={can_go=function(pos,node,velocity,stack)
+ return velocity
+ end}})
+
sand_noctr_textures={"pipeworks_sand_tube_noctr.png","pipeworks_sand_tube_noctr.png","pipeworks_sand_tube_noctr.png",
"pipeworks_sand_tube_noctr.png","pipeworks_sand_tube_noctr.png","pipeworks_sand_tube_noctr.png"}
sand_plain_textures={"pipeworks_sand_tube_plain.png","pipeworks_sand_tube_plain.png","pipeworks_sand_tube_plain.png",