Add "related_underground_pipe" to pipe prototype definitions

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
User avatar
rimbas
Burner Inserter
Burner Inserter
Posts: 10
Joined: Thu May 18, 2017 10:00 pm
Contact:

Add "related_underground_pipe" to pipe prototype definitions

Post by rimbas »

For feature parity with Prototype/TransportBelt#related_underground_belt and LuaEntityPrototype#related_underground_belt. It doesn't exist because pipes don't have smart drag quick replace function but I believe there is still a benefit to having it for inter mod compatibility.

I already use LuaEntityPrototype#related_underground_belt to avoid hardcoding name lists or doing string pattern matching, so also having it for pipes would be nice.
DaleStan
Filter Inserter
Filter Inserter
Posts: 371
Joined: Mon Jul 09, 2018 2:40 am
Contact:

Re: Add "related_underground_pipe" to pipe prototype definitions

Post by DaleStan »

Does that still do what you want when the fluid system is extended by mods like Advanced Fluid Handling?
Attachments
which-pipe.png
which-pipe.png (399.05 KiB) Viewed 764 times
User avatar
rimbas
Burner Inserter
Burner Inserter
Posts: 10
Joined: Thu May 18, 2017 10:00 pm
Contact:

Re: Add "related_underground_pipe" to pipe prototype definitions

Post by rimbas »

DaleStan wrote: Fri Jan 27, 2023 7:37 pm Does that still do what you want when the fluid system is extended by mods like Advanced Fluid Handling?
Ideally pipes with custom behaviour wouldn't define/be defined as a related pipe but we can read fluidbox connections so its possible to filter them if they don't behave as expected.
Post Reply

Return to “Modding interface requests”