Page 1 of 1

Linked pipes

Posted: Sun Jan 17, 2021 5:41 pm
by Purpzie
TL;DR
We've got linked chests and linked belts, so naturally, linked pipes would be a great addition.
What ?
There really isn't much to explain. Its graphic could be the end of an underground pipe. If it's even possible, maybe it could contribute nothing to the length of the pipe (similar to how underground pipes only have a "length" of 2, no matter how far apart).
Why ?
For mods, and also because there isn't a way to transport liquids through linked chests or belts.

I understand that liquids are super finicky, and if that's why this wouldn't be added, that's understandable too. I made this post just in case it was possible.

Re: Linked pipes

Posted: Mon Jan 18, 2021 12:29 pm
by darkfrei
Modding interface request: viewtopic.php?f=28&t=94169

Mod (based on control.lua): https://mods.factorio.com/mod/LinkedPipes

Re: Linked pipes

Posted: Mon Jan 18, 2021 11:05 pm
by Purpzie
Oh, it's an interface request? Does that mean I shouldn't have made this thread? I did search to check if a suggestion like this already existed, but forgot to make the search include results from that section. I'm quite new to participating on the forum, apologies.

EDIT: I tried to delete this thread but could not find the button to do so. :? Heck.

Re: Linked pipes

Posted: Tue Jan 19, 2021 1:08 am
by ssilk
Purpzie wrote: Mon Jan 18, 2021 11:05 pm Oh, it's an interface request? Does that mean I shouldn't have made this thread? I did search to check if a suggestion like this already existed, but forgot to make the search include results from that section. I'm quite new to participating on the forum, apologies.

EDIT: I tried to delete this thread but could not find the button to do so. :? Heck.
No, it’s much easier, you need to say: “please webmaster, move it to ...”
...and it will be moved like magic from suggestions to to modding interface requests... :D

Re: Linked pipes

Posted: Tue Jan 19, 2021 6:11 pm
by eradicator
ssilk wrote: Tue Jan 19, 2021 1:08 am No, it’s much easier, you need to say: “please webmaster, move it to ...”
...and it will be moved like magic from suggestions to to modding interface requests... :D
Dear Webmaster: Why did you move it instead of merging the two threads?

Re: Linked pipes

Posted: Wed Jan 20, 2021 7:09 pm
by Purpzie
eradicator wrote: Tue Jan 19, 2021 6:11 pm
ssilk wrote: Tue Jan 19, 2021 1:08 am No, it’s much easier, you need to say: “please webmaster, move it to ...”
...and it will be moved like magic from suggestions to to modding interface requests... :D
Dear Webmaster: Why did you move it instead of merging the two threads?
Yes, I'm curious about that too. It's initially why I was trying to delete this thread, since it's a duplicate.

Re: Linked pipes

Posted: Fri Dec 17, 2021 7:36 am
by PFQNiet
I'd like to +1 this request. My use case will be threefold:

1. De-cheese the flow of fluids through underground pipes by linking it to another surface where the appropriate number of normal pipes are lined up for the fluid to flow through.

2. Allow underground pipes of arbitrary length.

3. Allow weaving of underground pipes.

I know nothing of the game engine code, but for the purpose of fluid flow I imagine it would be identical to how fluid flows between connected underground pipes, but instead of underground_neighbour you have linked_neighbour or something.

Re: Linked pipes

Posted: Tue Aug 16, 2022 3:27 am
by raspberrypuppies
+1 it would give a good way to bypass Factorio's weird fluid physics. I have over 1000 hours in the game and sometimes the arbitrary behavior and need for hundreds of chained pumps is a little too tedious. It would be cool to link all the assembly machines/pipes *directly* through a script. This would give them infinite bandwidth and let me focus on the parts of the game that I enjoy more.

Re: Linked pipes

Posted: Mon Dec 19, 2022 2:41 pm
by boskid
Implemented for 1.2.0. Its not implemented as linked pipes but as a linked fluidbox connections which means any fluidbox of any entity will have the ability to be defined as linked and connect to other fluidboxes as long as they also have linked connection and belong to a different entity.

Re: Linked pipes

Posted: Mon Dec 19, 2022 5:33 pm
by SWeini
Wow. Now I'm really looking forward to 1.2.0. This will open up so many modding possibilities. Is 1.2.0 coming with the expansion or are you planning to release that some time soon?

Re: Linked pipes

Posted: Tue Dec 20, 2022 1:30 am
by micromario
boskid wrote: Mon Dec 19, 2022 2:41 pm Implemented for 1.2.0. Its not implemented as linked pipes but as a linked fluidbox connections which means any fluidbox of any entity will have the ability to be defined as linked and connect to other fluidboxes as long as they also have linked connection and belong to a different entity.
wow! will definitely add these to the factorissimo fork

Re: Linked pipes

Posted: Tue Dec 20, 2022 3:29 pm
by billbo99
micromario wrote: Tue Dec 20, 2022 1:30 am wow! will definitely add these to the factorissimo fork
I hope this is a setting you can set/change in the control stage of the game. If it only definable in the data stage then "factorissimo" will need to pre-generate a bunch of linked pipes for it to use.

Re: Linked pipes

Posted: Tue Dec 20, 2022 9:12 pm
by boskid
It is defined in data stage but then connections are requested in the control stage. Just to make sure there is no confusion here: its not making multiple fluidboxes shared (having single fluid storage), it is just a third type of connection (so there are normal connections, underground connections and linked connections) with a specific logic of finding other entity+fluidbox+connection to which a given linked connection should connect to.

Re: Linked pipes

Posted: Sun Jan 29, 2023 8:21 am
by Stringweasel
Awesome addition! With this I'll be able to make Fluidic Power's weird pole mechanics almost completely hidden! And allow diagonal pole connections :P

To make it reliable a on_wire_connection_changed event would still be needed *nudge* *nudge*. Although I do understand it's a complex event to add because it touches so many deep places in the code.

Re: Linked pipes

Posted: Wed Mar 29, 2023 6:19 am
by mrvn
Any ETA for this feature? Maybe an experimental preview?

Re: Linked pipes

Posted: Wed Mar 29, 2023 8:44 am
by Therenas
It'll be released for 1.2, meaning alongside the expansion, for which there isn't an ETA yet.

Re: Linked pipes

Posted: Wed Apr 05, 2023 7:01 pm
by raspberrypuppies
Thank you! Now I have another reason to be excited for the expansion.