Unknown wire type: 1

Place to get help with not working mods / modding interface.
Post Reply
d3x0r
Filter Inserter
Filter Inserter
Posts: 316
Joined: Sun Jun 04, 2017 8:56 am
Contact:

Unknown wire type: 1

Post 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.

Post Reply

Return to “Modding help”