Page 1 of 1

Unknown wire type: 1

Posted: Tue Aug 22, 2017 7:01 am
by d3x0r
where entity is a power-pole type...

Code: Select all

		local network = entity.get_circuit_network( defines.wire_type.copper );--, defines.circuit_connector_id.electric_pole );
Not that it would really help...

There's no events on connect/disconnect of wires to poles. so I'd have to scan all electrical entitites (everything) all the time to see if they are still part of the same network.