| | |
| | | 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"} |
| | | } |
| | | }) |
| | | |
| | |
| | | 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 |