Advanced Fluid Handling Continued deprecated


Advanced Fluid Handling Continued (AFHC) brings the original Advanced Fluid Handling gameplay to Factorio 2.1 and Space Age, including tiered underground pipes, independently rotatable multi-port pipes-to-ground, underground pumps, and adjustable valves.

Content
3 days ago
2.1
4
Logistics Fluids

Changelog

Version: 2.1.0
Date: 11. 07. 2026
  Release Notes:
    - Unofficial Factorio 2.1 compatibility work maintained in the goakiller900 fork for review and testing.
    - Advanced Fluid Handling / underground-pipe-pack was originally created and maintained by TheStaplergun.
    - The internal mod name and all established item, recipe, technology, entity and remote-interface names remain unchanged for save and integration compatibility.
  Inherited Unreleased Upstream Changes:
    - Includes the Russian locale merged upstream after the 2.0.6 Mod Portal archive.
    - Includes upstream July 2026 fixes for rotating pipe-to-ground ghosts, preserving pipe fluids during rotation and suppressing replacement smoke.
  Factorio 2.1 Compatibility:
    - Updated info.json for Factorio 2.1 and optional Space Age 2.1 support.
    - Removed the obsolete mining hardness field and invalid pipe prototype fields.
    - Moved hide_connection_info from FluidBox to individual pipe connection definitions.
    - Rebuilt valve prototypes from valid Factorio 2.1 ValvePrototype fields instead of inherited storage-tank-only fields.
    - Kept the existing valve thresholds, flow calculations, graphics, recipes and technology unlocks.
    - Made tier upgrade chains deterministic for pipes-to-ground, underground junctions and underground pumps.
  Fixes:
    - Preserve fluids when rotating underground pipe ports or changing adjustable valve settings.
    - Preserve entity quality, health ratio, last user and ghost tags during scripted replacement.
    - Restore the original entity if a scripted replacement cannot be created.
    - Retain ghost rotation support and suppress replacement smoke effects.
    - Stop generating incomplete Space Exploration-specific valve entities that had no corresponding items or recipes; normal valves remain available when optional mods are enabled.
  Release Automation:
    - Added deterministic Factorio-ready ZIP creation with one correctly named root folder.
    - Added source, dependency, Lua require, asset-path and archive validation plus SHA-256 generation.
    - Added pull-request artifacts, replaceable branch prereleases, immutable default-branch releases and opt-in default-branch-only Mod Portal publishing using FACTORIO_API_KEY.
  Known Issues:
    - GitHub source validation and archive creation do not prove in-game compatibility.
    - Clean Factorio 2.1, Space Age, save-upgrade and optional-mod tests are still required before a stable release.
    - Legacy Space Exploration locale strings and compatibility table entries are retained for compatibility, but dedicated Space Exploration pipe and valve prototypes are not generated by this release.
  License:
    - The original CC BY-NC-ND 4.0 license is retained unchanged. Distribution of modified builds should only occur with the permissions required by that license and the original author.
Version: 2.0.6
Date: 17. 05. 2025
  Changes:
    - Add color to underground pump icons to make them easier to distinguish in your inventory and on recipe pages.
  Features:
    - Add valves back using the new valve prototype. Flow rate is determined by the valve type and threshold, up to 6000/s for a base quality entity.
Version: 2.0.5
Date: 31. 03. 2025
  Fixes:
    - Fix fluid being flushed from entire network connected to a pipe when using CTRL + R.
Version: 2.0.4
Date: 05. 12. 2024
  Fixes:
    - Fix non space-age pipe connection issues.
Version: 2.0.3
Date: 19. 11. 2024
  Fixes:
    - Fix underground pump not showing correct circuit connection sprites
Version: 2.0.2
Date: 19. 11. 2024
  Fixes:
    - Fix T2 and T3 item not placing the right pump tier
Version: 2.0.1
Date: 19. 11. 2024
  Changes:
    - Added Tier 2 and Tier 3 to the Underground Mini pump with recipes that work for space age or base game
  Fixes:
    - Removed references to Space Exploration and valves in info.json
Version: 2.0.0
Date: 13. 11. 2024
  Changes:
    - Update to 2.0
    - Removed Valves since the fluid engine has changed
    - Removed hard coded Space Exploration compatibility and Bobsmod Compatibility, allowing for another mod creator to fill that gap
Version: 1.1.2
Date: 14. 04. 2020
  Changes:
    - Change info.json name to match mod portal name and be more relevant.
Version: 1.1.1
Date: 14. 04. 2020
  Features:
    - Wire compatibility (finally) for the underground pump.
  Fixes:
    - Fix issue with space exploration compatible valves giving wrong result from mining.
    - Fix collision layer issues.
Version: 1.1.0
Date: 30. 11. 2020
  Features:
    - Update for 1.1
    - Single tile underground pipe junctions now draw their contained fluid icon in Alt Mode.
Version: 0.18.6
Date: 12. 06. 2020
  Features:
  Changes:
    - Tweak science and recipe of advanced space pipes. Now requires Heavy Girders.
  Fixes:
    - Underground pipes suddenly gained an above ground port. Removed this port.
Version: 0.18.4
Date: 09. 06. 2020
  Features:
  Changes:
  Fixes:
    - Space pipes could not rotate underground ports.
Version: 0.18.3
Date: 08. 06. 2020
  Features:
  Changes:
  Fixes:
    - Mod was not working if space exploration was not installed.
Version: 0.18.2
Date: 08. 06. 2020
  Features:
    - Space exploration compatible pipes added that have over double the reach.
  Changes:
  Fixes:
    - Script raised built no longer throws an error.
Version: 0.18.1
Date: 01. 05. 2020
  Features:
  Changes:
  Fixes:
    - Bugfixes as per users feedback in mods.factorio.com
Version: 0.17.6
Date: 24. 07. 2019
  Features:
  Changes:
    - Remove the puff of smoke when rotating the underground ports of pipe-to-ground or adjusting valves
  Fixes:
Version: 0.17.5
Date: 24. 07. 2019
  Features:
    - Add blue arrow to underground pump to make it clear even without alt-mode on.
    - Add thumbnail for mod portal.
  Changes:
  Fixes:
Version: 0.17.4
Date: 09. 07. 2019
  Features:
  Changes:
  Fixes:
    - Low res sprites
    - Mining results for underground pipe extensions
Version: 0.17.3
Date: 09. 07. 2019
  Features:
  Changes:
  Fixes:
    - Fix bad prototype accidental migration. (Rotation bug)
Version: 0.17.2
Date: 09. 07. 2019
  Features:
  Changes:
    - Major graphics overhaul
  Fixes:
    - Potential fix for check valve
    - Fix rotational directions for 1-2 pipes
Version: 0.17.1
Date: 25. 5. 2019
  Features:
  Changes:
    - Pump now reaches all three tiers regardless.
  Fixes:
    - Locale issues
    - Potential fix for error with "next upgrade target" on valves
Version: 0.17.0
Date: 22. 3. 2019
  Features:
    - Add reverse rotation (finally)
    - Update to 0.17
  Changes:
    - All 1-to-2 pipes are now a single recipe.
  Fixes:
    - Locale issues
    - Compatible with pipelayer
Version: 0.16.66
Date: 14. 10. 2018
  Changes:
    - Add adjustable overflow/top-up valves, along with check valves.
  Fixes:
    - Fix issue with pipes-to-ground not being able to be fast replaced.
Version: 0.16.65
Date: 10/11/2018
  Changes:
    - Removed pipeclamp (get PickerPipeTools)
    - Removed pipehighlight (get PickerPipeTools)
    - Blueprinted items behave like they should now. No more scripts to fix.
Version: 0.16.64
Date: 9/26/2018
  Features:
    - Added T1 pipecover graphics
  BugFixes:
    - Fixed issue with case sensitivity in certain icon paths (success)
Version: 0.16.63
Date: 9/26/2018
  BugFixes:
    - Fixed issue with case sensitivity in certain icon paths (Failed)
Version: 0.16.62
Date: 9/26/2018
  Features:
    - Moved clamp script to own file
    - Optional dependency for pipe-clamp mod
  BugFixes:
    - Fix conflict with own mod
    - Fix issue brought up in discussions forum with [] in pipe name
Version: 0.16.61
Date: 9/25/2018
  Features:
    - Adds ability to clamp properly against square and most rectangular entities. Let me know if there are any problems.
    - Change flying text notifications. Unclamped is now yellow.
  BugFixes:
    - Change One to One underground distance to 11
Version: 0.16.60
Date: ??????
  BugFixes:
    - Potential Attempt to concatenate field localised_name (a table value) error
Version: 0.16.59
Date: ??????
  BugFixes:
    - Fix blueprint correction for one-to-two-perpendicular pipes
    - Hid all icons for clamped pipes and extra pipes-to-ground included in mod from logistics and other menus
    - Efficiency and accuracy update for blueprint corrector
    - Fixed plenty of icon pointers for entities
    - Fix missing sprite for one-to-one-reverse-pipe-right in normal or less resolution
  Features:
    - Added temporary lock icon for clamped pipes to differentiate them.
    - Made clamped pipes have icons that match their unclamped version, but with a lock. Easier to determine what type of pipes you need
    - Overhauled Icons
Version: 0.16.58
Date: ??????
  BugFixes:
    - Temporary fix for Dectorio
    - Permanent fix for Factorissimo
Version: 0.16.57
Date: ??????
  Features:
    - Added pipe clamping tool. Just press rotate (Default is R) on a pipe (any mod any pipe) and it will "clamp" it in it's current position. This allows you to build other pipes nearby without them connecting to it. Press R on a clamped pipe to unclamp it.
    - Clamped pipes are able to be blueprinted. Note: when building on a clamped blueprint, single click the item or it will fast-replace it with a regular pipe. This is focused towards being more convenient for bots, as it's a blueprint anyways.
  Changes:
    - Changed default one to two to be perpendicular
    - Changed all fluid boxes to default size
Version: 0.16.56
Date: ??????
  BugFixes:
    - Fixed game breaking bug
Version: 0.16.55
Date: ??????
  BugFixes:
    - Backend and efficiency update. You will lose any correctable blueprint data, but just once.
    - Fixed bug where if a user places a pipe on a blueprint ghost that gets corrected, the game crashes.
Version: 0.16.54
Date: ??????
  BugFixes:
    - Fixed custom input bug
Version: 0.16.53
Date: ??????
  BugFixes:
    - Fixed intermediate products to be gated behind technology properly.
    - Fixed rotation problem on t3 pipes
    - Fixed various other random stuff
  Features:
    - Added blueprint script! Now you can blueprint this stuff without worrying. You will get flying text notifications for each entity fixed, and a notification when all ghosts have been fixed.
Version: 0.16.52
Date: ??????
  BugFixes:
    - I messed up the version number in the past. Derp. People can't pull updates properly.
  Features:
    - Added T3 pipes. Distance set to 33.
    - Added varying technology icons to match tier
    - Pipe Couplers. For all underground connections. Tiered.
    - Added custom intermediate items to reduce pipespam, clear up inventory clutter, and make the mod less cheaty.
  Changes:
    - Changed costs of research
    - T1, 50 Red
    - T2, 100 Red/Green
    - T3, 200 Red/Green/Blue
    - Changed pipes to "carry" more fluid. Testing on this one. May revert to regular pipe value.
    - T1 stays at 100 units.
    - T2 will be 150 units.
    - T3 will be 200 units.
    - Restructured build costs of all pipes to work with new items.
    - All pipe entities in mod now cost 5 segments per leg, appropriate pipe couplers for each underground port, and a pipe for the surface. Underground pipes do not cost a pipe.
    - Rotateable pipes-to-ground also cost 1 swivel joint
    - Because of above changes, regular pipe to ground entities are no longer rotateable. You must build the custom one-to-one pipe.
Version: 0.16.10
Date: ??????
  Features:
    - Added proper tier icons.
Version: 0.16.9
Date: ??????
  BugFixes:
    - Fixed icon in underground L entity.
  Features:
    - Added T2 pipes. Distance set to 22.
    - Added second tier research. Requires red and green research (30 units).
  Changes:
    - Rebalanced all costs. Every underground segment costs a pipe. Previous design was giving away free pipe lengths (1 pipe per leg underground)
Version: 0.16.8
Date: ??????
  Changes:
    - Altered included 4-to-4 pipe to 11 underground depth to match other pipes in pack
    - Due to multiple requests, and re-assessment of use of these items, flag replaced to "goes-to-quickbar" instead of "goes-to-main-inventory"
    - Added a prototype of a function that overrides build behavior of the underground I extension. You cannot build them any closer than their maximum distance to each other. Do not attempt to build any closer if your inventory is full.
Version: 0.16.7
Date: ??????
  BugFixes:
    - Fixed nil value bug on rotating pipes
Version: 0.16.6
Date: ??????
  Changes:
    - Redid graphics to match hue of each tier of belts (Only tier 1 right now. Next update will have T2 and hopefully T3 pipes)
    - Updated Ping utility to show pipes that don't have all possible neighbors in red
    - Reduced underground pipe junction costs by 10 pipes each, since you'll always be connecting it to at least one other pipe.
  BugFixes:
    - Fixed a bug in the 4 way underground junction being 1 tile shorter than it was supposed to be. This could have broken factories if you fast-replaced a lesser count junction.
Version: 0.16.5
Date: ??????
  Features:
    - Added a hotkey that will ping and show currently connected underground pipes for 15 seconds nearby you.
  Changes:
    - Made porthole covers slightly larger for increased visibility
Version: 0.16.4
Date: ??????
  Features:
    - Added low resolution graphics. Near impossible to make out arrows below "Normal" graphic setting.
    - Added a regular pipe that has 4 underground ports. Again, due to the way the engine is built, it will not show underground connections when hovered over. They're there.
  BugFixes:
    - Fixed low res graphic for pump. It's not dancing any more.
    - Fixed Locale information for the groupname and such. No more "Missing key" error.
Version: 0.16.3
Date: ??????
  Features:
    - Added mini underground pump
    - Custom HR and low res graphics
  Changes:
    - Changed version number to match game version with my subversion
    - **REMOVED UNDERGROUND PUMP** Check your factory to make sure you replace them with the minipump
    - Added grouping for mod pack
    - Organized item recipes properly
    - Redid icons to be more apparent
    - Restructured prototypes
  BugFixes:
    - Corrected issue with underground pipes not being selectable over ground resources
    - Made mod compatible with multiple surfaces and multiple forces
Version: 0.1.2
Date: ??????
  BugFixes:
    - Fixed game crashing graphics reference bug
    - Playtested underground pump
Version: 0.1.1
Date: ??????
  Features:
    - Added "Underground Pump" entity which only interfaces with underground pipes. (ALPHA)
  Changes:
    - Added low res version of underground pipe covers
    - Renamed pack and technology (Will have to research)
    - Changed "goes-to-quickbar" to "goes-to-main-inventory"
    - Made underground pipe rotation only available after research unlocked
  BugFixes:
    - Corrected loading bug with 0,0 collision box (Changed to collision mask water-tile)
    - Removed placeholder graphics from file (Made mod download smaller)