diff options
author | Tim <t4im@users.noreply.github.com> | 2015-01-31 14:47:06 +0100 |
---|---|---|
committer | Tim <t4im@users.noreply.github.com> | 2015-01-31 14:47:06 +0100 |
commit | 810ae99008667209508f553e6b08e53e63bf1029 (patch) | |
tree | e7252426166658fc833b7e5d956d9eadd2935d15 /teleport_tube.lua | |
parent | 4dc3f159c9114d65571122909e252167579dc90b (diff) |
reduce texturename repetition via __index
Diffstat (limited to 'teleport_tube.lua')
-rw-r--r-- | teleport_tube.lua | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/teleport_tube.lua b/teleport_tube.lua index ccc5e0f..55c9b7f 100644 --- a/teleport_tube.lua +++ b/teleport_tube.lua @@ -105,12 +105,9 @@ local function get_receivers(pos, channel) return receivers end -local 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"} -local 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"} -local 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"} +local teleport_noctr_textures={ "pipeworks_teleport_tube_noctr.png" } +local teleport_plain_textures={ "pipeworks_teleport_tube_plain.png" } +local teleport_end_textures={ "pipeworks_teleport_tube_end.png" } local teleport_short_texture="pipeworks_teleport_tube_short.png" local teleport_inv_texture="pipeworks_teleport_tube_inv.png" |