Zefram
2014-05-18 623fcae4a4ad3ec12cc242b29b0d781357cff3f7
technic/machines/switching_station.lua
@@ -35,9 +35,9 @@
minetest.register_craft({
   output = "technic:switching_station",
   recipe = {
      {"default:steel_ingot",  "technic:lv_transformer", "default:steel_ingot"},
      {"default:copper_ingot", "technic:lv_cable0",      "default:copper_ingot"},
      {"default:steel_ingot",  "technic:lv_cable0",      "default:steel_ingot"}
      {"technic:cast_iron_ingot", "technic:lv_transformer", "technic:cast_iron_ingot"},
      {"default:copper_ingot",    "technic:lv_cable0",      "default:copper_ingot"},
      {"technic:cast_iron_ingot", "technic:lv_cable0",      "technic:cast_iron_ingot"}
   }
})
@@ -106,6 +106,9 @@
         add_new_cable_node(PR_nodes, pos)
      elseif machines[name] == technic.receiver then
         add_new_cable_node(RE_nodes, pos)
      elseif machines[name] == technic.producer_receiver then
         add_new_cable_node(PR_nodes, pos)
         add_new_cable_node(RE_nodes, pos)
      elseif machines[name] == technic.battery then
         add_new_cable_node(BA_nodes, pos)
      end