Circuit Network reading PowerGrid

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
Post Reply
Droid101
Manual Inserter
Manual Inserter
Posts: 2
Joined: Mon Apr 20, 2020 3:56 pm
Contact:

Circuit Network reading PowerGrid

Post 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

mmmPI
Smart Inserter
Smart Inserter
Posts: 2739
Joined: Mon Jun 20, 2016 6:10 pm
Contact:

Re: Circuit Network reading PowerGrid

Post 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

User avatar
Optera
Smart Inserter
Smart Inserter
Posts: 2916
Joined: Sat Jun 11, 2016 6:41 am
Contact:

Re: Circuit Network reading PowerGrid

Post by Optera »

Inventory Sensor reads as the name implies inventories.

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

Droid101
Manual Inserter
Manual Inserter
Posts: 2
Joined: Mon Apr 20, 2020 3:56 pm
Contact:

Re: Circuit Network reading PowerGrid

Post 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

quyxkh
Smart Inserter
Smart Inserter
Posts: 1028
Joined: Sun May 08, 2016 9:01 am
Contact:

Re: Circuit Network reading PowerGrid

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

Post Reply

Return to “Gameplay Help”