diff options
Diffstat (limited to 'tubes.lua')
-rw-r--r-- | tubes.lua | 24 |
1 files changed, 20 insertions, 4 deletions
@@ -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", |