From: Novatux Date: Tue, 31 Dec 2013 12:59:25 +0000 (+0100) Subject: Use crossing textures X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=1dab36812ade288e622ee982e9ee82f0eeffcc6b;p=zefram%2Fminetest%2Fpipeworks.git Use crossing textures --- diff --git a/tubes.lua b/tubes.lua index a5e6145..c397b13 100644 --- a/tubes.lua +++ b/tubes.lua @@ -438,14 +438,14 @@ end if pipeworks.enable_crossing_tube then -- FIXME: The textures are not the correct ones - local crossing_noctr_textures = {"pipeworks_accelerator_tube_noctr.png", "pipeworks_accelerator_tube_noctr.png", "pipeworks_accelerator_tube_noctr.png", - "pipeworks_accelerator_tube_noctr.png", "pipeworks_accelerator_tube_noctr.png", "pipeworks_accelerator_tube_noctr.png"} - local crossing_plain_textures = {"pipeworks_accelerator_tube_plain.png" ,"pipeworks_accelerator_tube_plain.png", "pipeworks_accelerator_tube_plain.png", - "pipeworks_accelerator_tube_plain.png", "pipeworks_accelerator_tube_plain.png", "pipeworks_accelerator_tube_plain.png"} - local crossing_end_textures = {"pipeworks_accelerator_tube_end.png", "pipeworks_accelerator_tube_end.png", "pipeworks_accelerator_tube_end.png", - "pipeworks_accelerator_tube_end.png", "pipeworks_accelerator_tube_end.png", "pipeworks_accelerator_tube_end.png"} - local crossing_short_texture = "pipeworks_accelerator_tube_short.png" - local crossing_inv_texture = "pipeworks_accelerator_tube_inv.png" + local crossing_noctr_textures = {"pipeworks_crossing_tube_noctr.png", "pipeworks_crossing_tube_noctr.png", "pipeworks_crossing_tube_noctr.png", + "pipeworks_crossing_tube_noctr.png", "pipeworks_crossing_tube_noctr.png", "pipeworks_crossing_tube_noctr.png"} + local crossing_plain_textures = {"pipeworks_crossing_tube_plain.png" ,"pipeworks_crossing_tube_plain.png", "pipeworks_crossing_tube_plain.png", + "pipeworks_crossing_tube_plain.png", "pipeworks_crossing_tube_plain.png", "pipeworks_crossing_tube_plain.png"} + local crossing_end_textures = {"pipeworks_crossing_tube_end.png", "pipeworks_crossing_tube_end.png", "pipeworks_crossing_tube_end.png", + "pipeworks_crossing_tube_end.png", "pipeworks_crossing_tube_end.png", "pipeworks_crossing_tube_end.png"} + local crossing_short_texture = "pipeworks_crossing_tube_short.png" + local crossing_inv_texture = "pipeworks_crossing_tube_inv.png" pipeworks.register_tube("pipeworks:crossing_tube", "Crossing tube segment", crossing_plain_textures, crossing_noctr_textures, crossing_end_textures, crossing_short_texture, crossing_inv_texture,