I'm looking for a very lightweight mod that does not alter gameplay mechanics, but removes one of the small hassles when laying pipe networks. Basically, all I want is to be able to build a corner with my underground pipes without having to switch to regular pipes or come back later once I'm finished. So I'd like the mod to do the following:
Whenever a player hand-places an (entity or ghost) underground pipe, check whether there are other underground pipes placed (1 tile diagonally in the direction the new pipe is pointing), and if yes, place a regular pipe from the player's inventory such that the two connect to form a corner.
So if, in the picture below, n is a downwards-facing underground pipe and c a right-facing underground pipe, it places a pipe at position X for me.
Code: Select all
......
...n..
..cX..
......
Thank you for your time!