Configurable Fluid Ports


Allows you to customize the fluid that each fluid port of a crafting machine carries. Don't like the placement of the water input? Hate where advanced oil processing outputs heavy oil? Change it!

Utilities
a month ago
2.0
48
Fluids Manufacturing
Owner:
minimusubi
Source:
N/A
Homepage:
N/A
License:
MIT
Created:
a month ago
Latest Version:
1.0.0 (a month ago)
Factorio version:
2.0
Downloaded by:
48 users

Allows you to choose which ingredient/product is assigned to each fluid/gas port on a supported machine. It should support modded recipes, however, I have only lightly tested with a few expansion mods.

This mod differs from other similar mods in that it:

  • Provides a user interface for configuring each fluid/gas port
  • Allows you to mix inputs/outputs on the same side

Configured fluid layouts can be copy/pasted and blueprinted.

Settings

There is currently one startup setting.

Maximum configurable ports

  • Valid values: 2-6
  • Default: 5
  • Generates configurations for supported machines with at most this many fluid ports. Higher values will increase startup time. WARNING: The game may fail to start when this is set to 6 and certain combinations of mods are used! (For example, if this is set to 6 with Pyanodons Modpack)

Current limitations

Identical machines with different fluid layouts cannot be Ctrl+C/Ctrl+V pasted onto each other without force pasting (holding Ctrl and Shift down while pasting). However, copy/paste configuration (Shift+Right click/Shift+Left click) is supported.

How does it work?

At startup, we generate a hidden entity variant for every possible arrangement of fluid ports. Once you're in game and configuring your pipes, the mod will find the pre-generated variant that matches your configuration and switch the building entity to it. This approach is similar to how mods like Fluid Permutations Fixed work, however, that uses hidden recipes instead of hidden entity variants. This means that machines altered by one mod are not compatible with the other.

Uninstalling

Before removing/disabling this mod, reset all machines to their default fluid port layout. Since this would "break" your automation until you fix the pipe networks, removing the mod isn't really recommended. Any remaining machines with a customized layout will disappear if a save is loaded without the mod.

Incompatibilities

  • Fluid Permutations Fixed and its earlier forks
    When switching to Configurable Fluid Ports, machines using one of FPFs recipes will lose their selected recipe.