Added textures for teleport tube
authorNovatux <nathanael.courant@laposte.net>
Sat, 19 Jan 2013 16:51:11 +0000 (17:51 +0100)
committerNovatux <nathanael.courant@laposte.net>
Sat, 19 Jan 2013 16:51:11 +0000 (17:51 +0100)
teleport_tube.lua
textures/pipeworks_teleport_tube_end.png [new file with mode: 0644]
textures/pipeworks_teleport_tube_inv.png [new file with mode: 0644]
textures/pipeworks_teleport_tube_noctr.png [new file with mode: 0644]
textures/pipeworks_teleport_tube_plain.png [new file with mode: 0644]
textures/pipeworks_teleport_tube_short.png [new file with mode: 0644]

index eda39120ced4fd3bd9dd41e23021d2370f90fc65..b636431caf45ccd34c8dca080d2d7332a318c4a6 100644 (file)
@@ -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 (file)
index 0000000..e1157d2
Binary files /dev/null and b/textures/pipeworks_teleport_tube_end.png differ
diff --git a/textures/pipeworks_teleport_tube_inv.png b/textures/pipeworks_teleport_tube_inv.png
new file mode 100644 (file)
index 0000000..2b4d323
Binary files /dev/null and b/textures/pipeworks_teleport_tube_inv.png differ
diff --git a/textures/pipeworks_teleport_tube_noctr.png b/textures/pipeworks_teleport_tube_noctr.png
new file mode 100644 (file)
index 0000000..f7c8b10
Binary files /dev/null and b/textures/pipeworks_teleport_tube_noctr.png differ
diff --git a/textures/pipeworks_teleport_tube_plain.png b/textures/pipeworks_teleport_tube_plain.png
new file mode 100644 (file)
index 0000000..108b4c2
Binary files /dev/null and b/textures/pipeworks_teleport_tube_plain.png differ
diff --git a/textures/pipeworks_teleport_tube_short.png b/textures/pipeworks_teleport_tube_short.png
new file mode 100644 (file)
index 0000000..1cc7233
Binary files /dev/null and b/textures/pipeworks_teleport_tube_short.png differ