Mod that auto-places corner pipes?

Looking for a mod? Have a review on a mod you'd like to share?
Post Reply
GiftGruen
Burner Inserter
Burner Inserter
Posts: 10
Joined: Mon Dec 04, 2017 3:04 pm
Contact:

Mod that auto-places corner pipes?

Post by GiftGruen »

Hello modding community!

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..
......
If anyone could tell me of a mod that does such a thing (and possibly other QOL changes, just nothing that alters gameplay mechanics, as stated), that'd be great!

Thank you for your time!

Post Reply

Return to “Questions, reviews and ratings”