Oxygen Not Included

Oxygen Not Included

272 ratings
Advanced Flow Management
6
2
4
3
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
1.531 MB
Aug 30, 2023 @ 8:25am
Jun 16 @ 11:49pm
23 Change Notes ( view )

Subscribe to download
Advanced Flow Management

In 1 collection by Glampi
Glampi's Mods
4 items
Description
Latest version: v2.0.10.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:
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
128 Comments
Dave Jun 19 @ 12:11pm 
Thanks for the reply on Github. Deleting the mod folder 3028181310 fixed the issue completely.
Dave Jun 19 @ 10:30am 
Note: I just bought the DLC and tried to reenable this mod, and the same thing happens. stuck in a reboot loop and the mod menu gives the same "incompatible DLC configuration" error
Dave Jun 19 @ 10:19am 
Also, in the mod menu is says the mod has an an "incompatible DLC configuration" Note: I did not buy the DLC
Dave Jun 19 @ 10:12am 
removing the mod (see comment below) stops the endless reboot loop/out of space errors in the game.
Dave Jun 19 @ 10:11am 
Causes a reboot loop of constantly installing the mod and the game keeps claiming there's no space to install this mod when the game/mod folder drive has well over 100GB free
Glampi  [author] Jun 17 @ 11:27pm 
Fixed in v2.0.10.0.
Drayde Jun 16 @ 7:29pm 
@glampi Log and clipboard error posted https://github.com/Glampi42/ONI-Mods/issues/28#issue-3151836418

After some testing - it ONLY occurs when generating a prehistoric world, after 'success your adventure awaits' but before the dupe selection screen. I can load an existing prehistoric world with it on and I can generate normal worlds.
Glampi  [author] Jun 16 @ 11:38am 
Could you be more specific? Does the crash occur on game launch, when you do something specific in-game? Also, please send the Player.log (located in .../AppData/LocalLow/Klei/Oxygen Not Included) after the crash occurs (you can do so on GitHub [github.com]).
Drayde Jun 16 @ 10:46am 
This mod causes the game to crash with the prehistoric planet pack and doesn't seem to be compatible. Definitely would appreciate an update.
Darkerowl Jun 13 @ 10:34pm 
This mod is another Must have, and a should be in the game lol TY so much I love this mod so much, quality, and amazing!