Added appropriate textures for mesecon conductor tubes
BIN
textures/pipeworks_conductor_tube_end.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
textures/pipeworks_conductor_tube_inv.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
textures/pipeworks_conductor_tube_noctr.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
textures/pipeworks_conductor_tube_on_end.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
textures/pipeworks_conductor_tube_on_noctr.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
textures/pipeworks_conductor_tube_on_plain.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
textures/pipeworks_conductor_tube_plain.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
textures/pipeworks_conductor_tube_short.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
24
tubes.lua
@ -432,15 +432,31 @@ register_tube("pipeworks:detector_tube_off","Detector tube segment",detector_pla
|
|||||||
mesecons={receptor={state="off",
|
mesecons={receptor={state="off",
|
||||||
rules=mesecons_rules}}})
|
rules=mesecons_rules}}})
|
||||||
|
|
||||||
register_tube("pipeworks:conductor_tube_off","Conductor tube segment",detector_plain_textures,noctr_textures,
|
conductor_plain_textures={"pipeworks_conductor_tube_plain.png","pipeworks_conductor_tube_plain.png","pipeworks_conductor_tube_plain.png",
|
||||||
end_textures,short_texture,detector_inv_texture,
|
"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},
|
{groups={mesecon=2},
|
||||||
mesecons={conductor={state="off",
|
mesecons={conductor={state="off",
|
||||||
rules=mesecons_rules,
|
rules=mesecons_rules,
|
||||||
onstate="pipeworks:conductor_tube_on_#id"}}})
|
onstate="pipeworks:conductor_tube_on_#id"}}})
|
||||||
|
|
||||||
register_tube("pipeworks:conductor_tube_on","Conductor tube segment on (you hacker you)",detector_plain_textures,noctr_textures,
|
conductor_on_plain_textures={"pipeworks_conductor_tube_on_plain.png","pipeworks_conductor_tube_on_plain.png","pipeworks_conductor_tube_on_plain.png",
|
||||||
end_textures,short_texture,detector_inv_texture,
|
"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},
|
{groups={mesecon=2,not_in_creative_inventory=1},
|
||||||
drop="pipeworks:conductor_tube_off_000000",
|
drop="pipeworks:conductor_tube_off_000000",
|
||||||
mesecons={conductor={state="on",
|
mesecons={conductor={state="on",
|
||||||
|