Its registration as a battery (BA) node didn't work. It needs to be
registered as both a producer (PR) and a receiver (RE).
})
for tier, machines in pairs(technic.machines) do
- technic.register_machine(tier, "technic:supply_converter", technic.battery)
+ technic.register_machine(tier, "technic:supply_converter", technic.producer_receiver)
end
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
technic.receiver = "RE"
technic.producer = "PR"
+technic.producer_receiver = "PR_RE"
technic.battery = "BA"
technic.machines = {}