Oxygen Not Included

Oxygen Not Included

283 ratings
Advanced Flow Management
6
2
4
3
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
1.528 MB
Aug 30, 2023 @ 8:25am
Nov 25 @ 12:38pm
24 Change Notes ( view )

Subscribe to download
Advanced Flow Management

In 1 collection by Glampi
Glampi's Mods
4 items
Description
Latest version: v2.0.11.0
Translations: en, uk, ru, de, zh, es

Are you tired of using lots of bridges to make that damn liquid flow the right way? Do you want a more convenient way to manage where it flows and in what order? Then this mod is for you!

Advanced Flow Management(or AFM for short) gives you the ability to change the flow direction & priority in just one click. It also gives you a better understanding of the network's state by visualizing the flow directions in the overlay. It works for both liquid and gas conduits.


Features

• flow directions visualization in liquid & gas overlays
• ability to switch flow directions
• ability to change flow priorities on junctions
• ability to change flow priorities of buildings' endpoints
• ability to copy a junction's flow settings to other junctions

Now in more detail:

Flow adjustments in a network are made by interacting with junctions. Changing a junction connection's flow direction also changes the flow of the whole connected pipe leading to an endpoint: another junction, a building intake/output, or a dead end.

Some directions, known as Fixed Flow Directions (those appear darker in the Flow Configuration screen), cannot be changed for trivial reasons.



Illegal junctions (marked in red) are unstable. The game will attempt to rebuild the network to make them legal by adjusting its flow directions. All networks are rebuilt whenever a conduit is placed or removed.



Adjusting a junction's flow priorities determines the order in which contents enter or leave it. The highest-priority direction will be used first. If multiple directions share the same priority, the flow is evenly split.



Buildings' endpoints above junctions can also have their flow priority adjusted. For example, if a pump outputs into a junction and its flow priority matches the junction’s other inputs, the flow will be evenly distributed between all junction inputs.

For building endpoints to follow flow priorities, the junction requires a "Buffer" - you can see its contents (labeled "Buffer Contents") below the conduit's contents. You can safely ignore it as it is just a technical requirement.



You can copy flow settings of a junction to others only if they have the same connections. Copying transfers both flow directions AND priorities.




Tips

Here are some tips that can help you use the mod correctly:

Do not build loops(= an arrangement of multiple junctions that lets the contents flow in circles). Just because this mod lets you do it doesn't mean you should. If you do build them, then the flow of nearby conduits might behave strangely and unintended.

Switch flow directions while the game is paused. This will ensure that the game will not try to switch any flow directions that you are currently changing to the way they were before(in case you create any illegal junctions in the process).

Switch flow directions only in fully built networks. If you switch a flow direction of a junction that is part of an unfinished network, then that flow direction may get switched back while that network is being built.


Mod Compatibility

This mod influences conduits' behavior on a pretty low level so it might conflict with other mods that do the same. However, among all the mods I tested(which were a lot), practically none showed any significant compatibility issues.

AFM is fully compatible with High Pressure Applications (RIP Ronivan):
you can configure both flow directions and flow priorities of the modded conduits.

AFM is fully compatible with Pipe Flow Overlay.

AFM is fully compatible with all mods that add new buildings with custom endpoints/new bridges/new valves etc.:
you are fully able to configure the flow priority of any modded building's endpoints; sometimes some minor visual issues with the endpoints' icons occur where the icons are not changing their shape properly(from square to round and vice versa).


Special Thanks

Big thanks to Peter Han for his PLib!

Special thanks to the ONI discord community[discord.gg] for answering lots of my questions and helping create this mod!


Source Code, Feedback etc.

You can find the source code on my GitHub[github.com].

If you encounter any issues/bugs, please start an issue[github.com] with the error message(if present), the Player.log file and a description of how to reproduce the bug.

If you would like to provide a translation to this mod, feel free to send me the translation .po file via an issue or a pull request (on GitHub).

Do you like my mods and want to thank me? I would not mind if you would buy me a coffee[buymeacoffee.com] ;D
144 Comments
Jaggid Edje Nov 28 @ 5:31pm 
Tips for updating mods such the update actually works properly (usually):

1. Install Mod updater
2. When the message on your screen tells you to restart to update mods, do NOT push the restart button. Instead hit escape to close it.
3. Instead, open mods and push the manual button to "force update" in mod updater for each mod that has an update.
4. Again, when you get the message to restart the game each time, do NOT push the restart button.
5. After pushing the force update button for each mod that needs an update, close out the mod list window back into the game's main menu and then quit the game.
6. Now restart the game.

-Direct any issues or complaints to Valve or Klei, not mod authors, as this is a Steam problem and a game problem, not a mod specific issue.
Glampi  [author] Nov 28 @ 1:36pm 
@everyone It works, just make sure to update the mod to the latest version (v2.0.11.0). There have been issues with mods updating (always have), so use the Mod Updater in any case, and if it still doesn't update try to completely uninstall it and install again.
MiserableGamer Nov 26 @ 9:01am 
It was fine until I replaced a standard pipe with a High Pressure pipe from Ronivans Legacy mod
MiserableGamer Nov 26 @ 8:57am 
Just had a repeatable crash...

https://pastebin.com/VAvaXnSz
Glampi  [author] Nov 25 @ 12:44pm 
Was a simple change, it works now:meephappy:
Komoda Nov 25 @ 7:58am 
Appreciate you. This is a mod that I didn't know I needed until it existed but it is amazing! Thanks for keeping it up to date.
Glampi  [author] Nov 24 @ 11:55pm 
I will fix my mods when I have time, I'm really busy right now. But don't worry, I'm still here. If you can't play without the mods, you can roll back to the previous game version for now.
Nased0 Nov 24 @ 5:33pm 
Please update the mod. It crashes the game after QoL Nov. update.
q409077220 Nov 23 @ 5:12am 
大佬,能更新一下吗?最新版好像不行了,辛苦了
need update now!! game is updated.
Seredin Nov 22 @ 11:51am 
Verified QoL patch on 20Nov2025 broke Advanced Flow Management mod (for now.)

Hoping for a fix. Grateful for your efforts. Can live without, but the game is worse without it.

Whether you fix it or not, I have appreciated your hard work, that you have done and shared for free.