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 /sorting_tubes.lua | |
parent | 4dc3f159c9114d65571122909e252167579dc90b (diff) |
reduce texturename repetition via __index
Diffstat (limited to 'sorting_tubes.lua')
-rw-r--r-- | sorting_tubes.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sorting_tubes.lua b/sorting_tubes.lua index 93859d4..2060455 100644 --- a/sorting_tubes.lua +++ b/sorting_tubes.lua @@ -3,8 +3,7 @@ if pipeworks.enable_mese_tube then "pipeworks_mese_tube_noctr_4.png", "pipeworks_mese_tube_noctr_5.png", "pipeworks_mese_tube_noctr_6.png"} local mese_plain_textures = {"pipeworks_mese_tube_plain_1.png", "pipeworks_mese_tube_plain_2.png", "pipeworks_mese_tube_plain_3.png", "pipeworks_mese_tube_plain_4.png", "pipeworks_mese_tube_plain_5.png", "pipeworks_mese_tube_plain_6.png"} - local mese_end_textures = {"pipeworks_mese_tube_end.png", "pipeworks_mese_tube_end.png", "pipeworks_mese_tube_end.png", - "pipeworks_mese_tube_end.png", "pipeworks_mese_tube_end.png", "pipeworks_mese_tube_end.png"} + local mese_end_textures = { "pipeworks_mese_tube_end.png" } local mese_short_texture = "pipeworks_mese_tube_short.png" local mese_inv_texture = "pipeworks_mese_tube_inv.png" local function update_formspec(pos) |