summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanessaE <vanessaezekowitz@gmail.com>2013-01-19 09:02:28 -0800
committerVanessaE <vanessaezekowitz@gmail.com>2013-01-19 09:02:28 -0800
commit1efe0a963d18c344a23cdf04694b818a9ccbd77f (patch)
tree434d7b46e5b478bca80286d0d19dcd65a89dcff8
parentf8eb154f7ab446dc30080868b8c5971949cac4d0 (diff)
parent23bf19f480419283ea6e7b77a6dca8c19aeb8829 (diff)
downloadpipeworks-1efe0a963d18c344a23cdf04694b818a9ccbd77f.tar
pipeworks-1efe0a963d18c344a23cdf04694b818a9ccbd77f.tar.gz
pipeworks-1efe0a963d18c344a23cdf04694b818a9ccbd77f.tar.bz2
pipeworks-1efe0a963d18c344a23cdf04694b818a9ccbd77f.tar.xz
pipeworks-1efe0a963d18c344a23cdf04694b818a9ccbd77f.zip
Merge pull request #9 from Novatux/master
Textures for teleport tube
-rw-r--r--teleport_tube.lua12
-rw-r--r--textures/pipeworks_teleport_tube_end.pngbin0 -> 3348 bytes
-rw-r--r--textures/pipeworks_teleport_tube_inv.pngbin0 -> 1319 bytes
-rw-r--r--textures/pipeworks_teleport_tube_noctr.pngbin0 -> 2633 bytes
-rw-r--r--textures/pipeworks_teleport_tube_plain.pngbin0 -> 3310 bytes
-rw-r--r--textures/pipeworks_teleport_tube_short.pngbin0 -> 1628 bytes
6 files changed, 10 insertions, 2 deletions
diff --git a/teleport_tube.lua b/teleport_tube.lua
index eda3912..b636431 100644
--- a/teleport_tube.lua
+++ b/teleport_tube.lua
@@ -49,9 +49,17 @@ function get_tubes_in_file(pos,channel)
return newtbl
end
+teleport_noctr_textures={"pipeworks_teleport_tube_noctr.png","pipeworks_teleport_tube_noctr.png","pipeworks_teleport_tube_noctr.png",
+ "pipeworks_teleport_tube_noctr.png","pipeworks_teleport_tube_noctr.png","pipeworks_teleport_tube_noctr.png"}
+teleport_plain_textures={"pipeworks_teleport_tube_plain.png","pipeworks_teleport_tube_plain.png","pipeworks_teleport_tube_plain.png",
+ "pipeworks_teleport_tube_plain.png","pipeworks_teleport_tube_plain.png","pipeworks_teleport_tube_plain.png"}
+teleport_end_textures={"pipeworks_teleport_tube_end.png","pipeworks_teleport_tube_end.png","pipeworks_teleport_tube_end.png",
+ "pipeworks_teleport_tube_end.png","pipeworks_teleport_tube_end.png","pipeworks_teleport_tube_end.png"}
+teleport_short_texture="pipeworks_teleport_tube_short.png"
+teleport_inv_texture="pipeworks_teleport_tube_inv.png"
-register_tube("pipeworks:teleport_tube","Teleporter pneumatic tube segment",plain_textures,noctr_textures,end_textures,
- short_texture,inv_texture,
+register_tube("pipeworks:teleport_tube","Teleporter pneumatic tube segment",teleport_plain_textures,
+ teleport_noctr_textures,teleport_end_textures,teleport_short_texture,teleport_inv_texture,
{tube={can_go=function(pos,node,velocity,stack)
velocity.x=0
velocity.y=0
diff --git a/textures/pipeworks_teleport_tube_end.png b/textures/pipeworks_teleport_tube_end.png
new file mode 100644
index 0000000..e1157d2
--- /dev/null
+++ b/textures/pipeworks_teleport_tube_end.png
Binary files differ
diff --git a/textures/pipeworks_teleport_tube_inv.png b/textures/pipeworks_teleport_tube_inv.png
new file mode 100644
index 0000000..2b4d323
--- /dev/null
+++ b/textures/pipeworks_teleport_tube_inv.png
Binary files differ
diff --git a/textures/pipeworks_teleport_tube_noctr.png b/textures/pipeworks_teleport_tube_noctr.png
new file mode 100644
index 0000000..f7c8b10
--- /dev/null
+++ b/textures/pipeworks_teleport_tube_noctr.png
Binary files differ
diff --git a/textures/pipeworks_teleport_tube_plain.png b/textures/pipeworks_teleport_tube_plain.png
new file mode 100644
index 0000000..108b4c2
--- /dev/null
+++ b/textures/pipeworks_teleport_tube_plain.png
Binary files differ
diff --git a/textures/pipeworks_teleport_tube_short.png b/textures/pipeworks_teleport_tube_short.png
new file mode 100644
index 0000000..1cc7233
--- /dev/null
+++ b/textures/pipeworks_teleport_tube_short.png
Binary files differ