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.
Add "related_underground_pipe" to pipe prototype definitions
Re: Add "related_underground_pipe" to pipe prototype definitions
Does that still do what you want when the fluid system is extended by mods like Advanced Fluid Handling?
- Attachments
-
- which-pipe.png (399.05 KiB) Viewed 764 times
Re: Add "related_underground_pipe" to pipe prototype definitions
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.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?