Access to the global electric network on a space platform

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
User avatar
hgschmie
Inserter
Inserter
Posts: 48
Joined: Tue Feb 06, 2024 5:18 am
Contact:

Access to the global electric network on a space platform

Post by hgschmie »

I have a mod that connects to electric networks (usually by connecting a copper wire to a pole). On a space platform, there is the global electric network so I want the entity to connect to that automatically if it is built on a space platform.

I can determine whether there *is* a global electric network and I can create and/or delete it. But I have not found a way to *find* the network id or connect an entity (in this case it is a power switch so I want to "connect" one end of the switch to the global network).

Is there a way to find the id of the global network for a surface?
Post Reply

Return to “Modding interface requests”