From ada718fc4211d89d1c00c353252ba4ef7f728fa0 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Sun, 16 Jun 2013 09:36:49 -0400 Subject: Added appropriate textures for mesecon conductor tubes --- textures/pipeworks_conductor_tube_end.png | Bin 0 -> 2805 bytes textures/pipeworks_conductor_tube_inv.png | Bin 0 -> 2067 bytes textures/pipeworks_conductor_tube_noctr.png | Bin 0 -> 2133 bytes textures/pipeworks_conductor_tube_on_end.png | Bin 0 -> 2778 bytes textures/pipeworks_conductor_tube_on_noctr.png | Bin 0 -> 2113 bytes textures/pipeworks_conductor_tube_on_plain.png | Bin 0 -> 2657 bytes textures/pipeworks_conductor_tube_plain.png | Bin 0 -> 2596 bytes textures/pipeworks_conductor_tube_short.png | Bin 0 -> 1192 bytes tubes.lua | 24 ++++++++++++++++++++---- 9 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 textures/pipeworks_conductor_tube_end.png create mode 100644 textures/pipeworks_conductor_tube_inv.png create mode 100644 textures/pipeworks_conductor_tube_noctr.png create mode 100644 textures/pipeworks_conductor_tube_on_end.png create mode 100644 textures/pipeworks_conductor_tube_on_noctr.png create mode 100644 textures/pipeworks_conductor_tube_on_plain.png create mode 100644 textures/pipeworks_conductor_tube_plain.png create mode 100644 textures/pipeworks_conductor_tube_short.png diff --git a/textures/pipeworks_conductor_tube_end.png b/textures/pipeworks_conductor_tube_end.png new file mode 100644 index 0000000..a0d6915 Binary files /dev/null and b/textures/pipeworks_conductor_tube_end.png differ diff --git a/textures/pipeworks_conductor_tube_inv.png b/textures/pipeworks_conductor_tube_inv.png new file mode 100644 index 0000000..5db1153 Binary files /dev/null and b/textures/pipeworks_conductor_tube_inv.png differ diff --git a/textures/pipeworks_conductor_tube_noctr.png b/textures/pipeworks_conductor_tube_noctr.png new file mode 100644 index 0000000..cc03245 Binary files /dev/null and b/textures/pipeworks_conductor_tube_noctr.png differ diff --git a/textures/pipeworks_conductor_tube_on_end.png b/textures/pipeworks_conductor_tube_on_end.png new file mode 100644 index 0000000..a70d988 Binary files /dev/null and b/textures/pipeworks_conductor_tube_on_end.png differ diff --git a/textures/pipeworks_conductor_tube_on_noctr.png b/textures/pipeworks_conductor_tube_on_noctr.png new file mode 100644 index 0000000..30edb60 Binary files /dev/null and b/textures/pipeworks_conductor_tube_on_noctr.png differ diff --git a/textures/pipeworks_conductor_tube_on_plain.png b/textures/pipeworks_conductor_tube_on_plain.png new file mode 100644 index 0000000..1aaa15b Binary files /dev/null and b/textures/pipeworks_conductor_tube_on_plain.png differ diff --git a/textures/pipeworks_conductor_tube_plain.png b/textures/pipeworks_conductor_tube_plain.png new file mode 100644 index 0000000..b432dc4 Binary files /dev/null and b/textures/pipeworks_conductor_tube_plain.png differ diff --git a/textures/pipeworks_conductor_tube_short.png b/textures/pipeworks_conductor_tube_short.png new file mode 100644 index 0000000..0c4b1d2 Binary files /dev/null and b/textures/pipeworks_conductor_tube_short.png differ diff --git a/tubes.lua b/tubes.lua index 735a85a..4bd1d77 100644 --- a/tubes.lua +++ b/tubes.lua @@ -432,15 +432,31 @@ register_tube("pipeworks:detector_tube_off","Detector tube segment",detector_pla mesecons={receptor={state="off", rules=mesecons_rules}}}) -register_tube("pipeworks:conductor_tube_off","Conductor tube segment",detector_plain_textures,noctr_textures, - end_textures,short_texture,detector_inv_texture, +conductor_plain_textures={"pipeworks_conductor_tube_plain.png","pipeworks_conductor_tube_plain.png","pipeworks_conductor_tube_plain.png", + "pipeworks_conductor_tube_plain.png","pipeworks_conductor_tube_plain.png","pipeworks_conductor_tube_plain.png"} +conductor_noctr_textures={"pipeworks_conductor_tube_noctr.png","pipeworks_conductor_tube_noctr.png","pipeworks_conductor_tube_noctr.png", + "pipeworks_conductor_tube_noctr.png","pipeworks_conductor_tube_noctr.png","pipeworks_conductor_tube_noctr.png"} +conductor_end_textures={"pipeworks_conductor_tube_end.png","pipeworks_conductor_tube_end.png","pipeworks_conductor_tube_end.png", + "pipeworks_conductor_tube_end.png","pipeworks_conductor_tube_end.png","pipeworks_conductor_tube_end.png"} +conductor_short_texture="pipeworks_conductor_tube_short.png" +conductor_inv_texture="pipeworks_conductor_tube_inv.png" + +register_tube("pipeworks:conductor_tube_off","Conductor tube segment",conductor_plain_textures,conductor_noctr_textures, + conductor_end_textures,conductor_short_texture,conductor_inv_texture, {groups={mesecon=2}, mesecons={conductor={state="off", rules=mesecons_rules, onstate="pipeworks:conductor_tube_on_#id"}}}) -register_tube("pipeworks:conductor_tube_on","Conductor tube segment on (you hacker you)",detector_plain_textures,noctr_textures, - end_textures,short_texture,detector_inv_texture, +conductor_on_plain_textures={"pipeworks_conductor_tube_on_plain.png","pipeworks_conductor_tube_on_plain.png","pipeworks_conductor_tube_on_plain.png", + "pipeworks_conductor_tube_on_plain.png","pipeworks_conductor_tube_on_plain.png","pipeworks_conductor_tube_on_plain.png"} +conductor_on_noctr_textures={"pipeworks_conductor_tube_on_noctr.png","pipeworks_conductor_tube_on_noctr.png","pipeworks_conductor_tube_on_noctr.png", + "pipeworks_conductor_tube_on_noctr.png","pipeworks_conductor_tube_on_noctr.png","pipeworks_conductor_tube_on_noctr.png"} +conductor_on_end_textures={"pipeworks_conductor_tube_on_end.png","pipeworks_conductor_tube_on_end.png","pipeworks_conductor_tube_on_end.png", + "pipeworks_conductor_tube_on_end.png","pipeworks_conductor_tube_on_end.png","pipeworks_conductor_tube_on_end.png"} + +register_tube("pipeworks:conductor_tube_on","Conductor tube segment on (you hacker you)",conductor_on_plain_textures,conductor_on_noctr_textures, + conductor_on_end_textures,conductor_short_texture,conductor_inv_texture, {groups={mesecon=2,not_in_creative_inventory=1}, drop="pipeworks:conductor_tube_off_000000", mesecons={conductor={state="on", -- cgit v1.2.3