Fixed mixup between enables for conductor and detector tubes

pipeworks.enable_detector_tube would define detector tubes but the
recipe for conductor tubes, and vice versa
This commit is contained in:
electrodude 2016-04-17 23:05:38 -04:00
parent 66cfc745e1
commit b2f9047e60

@ -58,10 +58,10 @@ if pipeworks.enable_detector_tube then
})
minetest.register_craft( {
output = "pipeworks:conductor_tube_off_1 6",
output = "pipeworks:detector_tube_off_1 2",
recipe = {
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
{ "mesecons:mesecon", "mesecons:mesecon", "mesecons:mesecon" },
{ "mesecons:mesecon", "mesecons_materials:silicon", "mesecons:mesecon" },
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" }
},
})
@ -99,10 +99,10 @@ if pipeworks.enable_conductor_tube then
})
minetest.register_craft( {
output = "pipeworks:detector_tube_off_1 2",
output = "pipeworks:conductor_tube_off_1 6",
recipe = {
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
{ "mesecons:mesecon", "mesecons_materials:silicon", "mesecons:mesecon" },
{ "mesecons:mesecon", "mesecons:mesecon", "mesecons:mesecon" },
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" }
},
})