Page 1 of 1

Circuit Network reading PowerGrid

Posted: Mon Apr 20, 2020 5:08 pm
by Droid101
Hello everyone, i cant for the life of me find a way to get combinators to read from the powergrid how many mashines of a specific type there is. I searched the wiki and forums but cant find any possibility to do this. Is there really no combinator that can do this? pls halp

Re: Circuit Network reading PowerGrid

Posted: Mon Apr 20, 2020 5:59 pm
by mmmPI
In the vanilla game, i don't think it is possible ( been playing for a few years but ofc i could still discover something new).

And i don't know for sure if a mod would help, there are/were mods called "sensor", like "https://mods.factorio.com/mods/Optera/I ... y%20Sensor" maybe one of them you can use at your advantage but i don't remember using one with that particular function.

Not very helpful, but i can't do better

Re: Circuit Network reading PowerGrid

Posted: Mon Apr 20, 2020 7:33 pm
by Optera
Inventory Sensor reads as the name implies inventories.

what you want is https://mods.factorio.com/mod/Circuit_P ... Combinator

Re: Circuit Network reading PowerGrid

Posted: Wed Apr 22, 2020 6:29 pm
by Droid101
Optera wrote:
Mon Apr 20, 2020 7:33 pm
Inventory Sensor reads as the name implies inventories.

what you want is https://mods.factorio.com/mod/Circuit_P ... Combinator
Sry, i should have specified that I am searching for somthing that can give me the number of specific mashines thas consume power, like a roboport or pumpjack

Re: Circuit Network reading PowerGrid

Posted: Wed Apr 22, 2020 8:01 pm
by quyxkh
It looks like the machine counts are a high-overhead lua-only thing at the moment, you'd have to do a find_entities_filtered checking the connected power grid for anything that might be in range, and it looks like the lua value arbitrarily shows multi-homed devices as attached to just one.