Hey all, I have started working on a mod to add some basic logic gates to the game as I've found the smart-inserters slightly lacking but have hit a snag. Is there a way to interact with the circuit network from lua? I've read the wiki but have had no luck. Any ideas? I could probably iterate over every entity in the area looking for wires but I would prefer to avoid doing that as this would be slow and something that would have to be done quite often. Do wires even show up as an entities? looking at the prototype list they are not there but I could be missing something obvious.
On a side note, is there any way to query the logistics network or to see which containers are part of the logistics network. This one is probably easier as I could just search the area for roboports, work out the size of the network and just request all smart-containers in that area but I would like to avoid this.
Circuit and logistics networks
-
- Filter Inserter
- Posts: 402
- Joined: Fri May 23, 2014 8:54 am
- Contact:
Re: Circuit and logistics networks
...I don't believe that any of this is possible, at this time. The current circuit network (if I remember correctly) was not the intended design but a more of a prototype/proof-of-concept by the devs and they really didn't spend a huge amount of time on it (and less on the modding interface)...I think there has been some progress on it in the 0.10 dev build, however, so you may get lucky there 

<I'm really not active any more so these may not be up to date>
~FreeER=Factorio Modding
- Factorio Wiki
- My Factorio Modding Guide
- Wiki Modding Guide
Feel free to pm me
Or drop into #factorio on irc.esper.net
~FreeER=Factorio Modding
- Factorio Wiki
- My Factorio Modding Guide
- Wiki Modding Guide
Feel free to pm me

Or drop into #factorio on irc.esper.net
-
- Filter Inserter
- Posts: 402
- Joined: Fri May 23, 2014 8:54 am
- Contact:
Re: Circuit and logistics networks
Well damn, that is frustrating. Here is hoping .10 brings some logic love. I guess I'll have to come up with a new idea to learn the modding interface, maybe a active/passive provider train cart...