LuaCircuitNetwork.circuit_network_id
LuaCircuitNetwork.circuit_network_id
In an entity's circuit network panel, there's a line that says "Connected to Network: ", followed by a number that is presumably a unique identifier for a circuit network. My request is for an API call in the LuaCircuitNetwork class to read this id number.
>nature.destroy()
- bobingabout
- Smart Inserter
- Posts: 7352
- Joined: Fri May 09, 2014 1:01 pm
- Contact:
Re: LuaCircuitNetwork.circuit_network_id
I don't know if you can get access to this as a number, but you can get access to the network through the LUA scripts. I'm not 100%, but I'm fairly sure there is a way to get the ID, even if you have to ask the network what it's ID is, rather than just asking the entity for the network ID.
Re: LuaCircuitNetwork.circuit_network_id
Added for 0.15.
If you want to get ahold of me I'm almost always on Discord.