[2.x] Add field for name of logistic network

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
User avatar
maksim789456
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sat Oct 24, 2020 10:35 pm
Contact:

[2.x] Add field for name of logistic network

Post by maksim789456 »

Hi!

At current moment in LuaLogisticNetwork we have field to get network_id value, but no way to get name of logistic network.

It would be nice to add a field with name
User avatar
MaxAstro
Inserter
Inserter
Posts: 28
Joined: Sun Nov 09, 2014 7:53 am
Contact:

Re: [2.x] Add field for name of logistic network

Post by MaxAstro »

What do you mean by the name of the network?

Sections do have names, and that is accessible in LuaLogisticSection.group, but I didn't think logistic networks as a whole could have names.
"I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark Twain

"True friends stab you in the front." - Oscar Wilde
User avatar
Sharparam
Inserter
Inserter
Posts: 25
Joined: Sat Mar 25, 2023 11:21 pm
Contact:

Re: [2.x] Add field for name of logistic network

Post by Sharparam »

MaxAstro wrote: Wed Nov 27, 2024 2:45 pm What do you mean by the name of the network?

Sections do have names, and that is accessible in LuaLogisticSection.group, but I didn't think logistic networks as a whole could have names.
If you open the "Logistic networks" view (default hotkey "L" or use the button with the square and "WiFi symbol" in the top right), you can see all the different logistic networks you have and give them names:

Image
User avatar
MaxAstro
Inserter
Inserter
Posts: 28
Joined: Sun Nov 09, 2014 7:53 am
Contact:

Re: [2.x] Add field for name of logistic network

Post by MaxAstro »

Sharparam wrote: Wed Nov 27, 2024 10:25 pm
MaxAstro wrote: Wed Nov 27, 2024 2:45 pm What do you mean by the name of the network?

Sections do have names, and that is accessible in LuaLogisticSection.group, but I didn't think logistic networks as a whole could have names.
If you open the "Logistic networks" view (default hotkey "L" or use the button with the square and "WiFi symbol" in the top right), you can see all the different logistic networks you have and give them names:
You just blew my mind.

Hundreds of hours in this game and somehow I am still discovering new things every day. XD
"I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark Twain

"True friends stab you in the front." - Oscar Wilde
Post Reply

Return to “Modding interface requests”