Advanced Fluid Handling

--Adds I, L, T, and Cross underground pipe extensions. --Adds pipes to ground with I, L, T, and Cross shaped underground outputs that are able to be rotated independent of the above ground port. --Adds an Underground pump. --Adds adjustable fluid valves (check, overflow, top-up).
5 months ago
0.16 - 0.17
11636
Owner: staplergun
Source: TheStaplergun/pipemod
Homepage: https://forums.factorio.com/viewtopic...
License: GNU GPLv3
Created: 1 year, 5 months ago
Latest Version: 0.17.5 (5 months ago)
Factorio version: 0.16 - 0.17
Downloaded: 11636 times

Have you ever gotten frustrated with the way the pipes work underground? Do you get tired of running into those pesky surface pipes over long distance piping? How about those wild excessive overground space consuming junctions? Maybe even that one little space you wish you could fit a single pipe into to run a pipe under an assembly line instead of having to reconfigure the whole thing?

Are you a Petrochem masochist?

Well, if so, then this mod is for you!

You must research the included technology before the below features unlock. Basic fluid handling is a pre-requisite, and it only takes 50 red research.
Hover your mouse over any 1-to-1, 1-to-2, or 1-to-3 pipe and press CONTROL+R.


Now with adjustable overflow and top up valves! Use NUM + or - to adjust!

An interesting side effect of the mod is that you're reducing the amount of pipe entities in the world, so you're going to reduce the UPS overhead for each pipe you never had to install.
EXAMPLE: A four way underground pipe junction goes from 5 total pipes to 1.
Each pipe entity has it's own fluid box that must be calculated. The underground portion of underground pipes are non-existent as far as fluid calculation goes. The fluid effectively "teleports" between the two endpoints. (This is standard game behavior.)

Current Project:
--1x1 Buffer Fluid tank

BUGS:

ENGINE LIMITATIONS:
--Pumps with underground input do not display fluid color when pumping or containing fluids.
--Underground sprites will not display on hovering over things that normally don't have underground segments.

*Contact me on Discord at "TheStaplergun#6920," the Factorio forums at the same username as here, or on GitHub with error reports.

Credit to Nexela for the countless questions answered about Modding and LUA, all while still taking the time to answer them. Also, for recently collaborating to overhaul the back end internals of the mod.

Credit to Bilka for helping me understand the API better.

DISCLAIMER: All entities, items, recipes, and technology are custom. If you remove the mod, all the coinciding pipes will disappear.