From: Novatux Date: Sat, 19 Jan 2013 16:51:11 +0000 (+0100) Subject: Added textures for teleport tube X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=23bf19f480419283ea6e7b77a6dca8c19aeb8829;p=zefram%2Fminetest%2Fpipeworks.git Added textures for teleport tube --- 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 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 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 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 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 index 0000000..1cc7233 Binary files /dev/null and b/textures/pipeworks_teleport_tube_short.png differ