Krastorio 2 - Fluid-Building Flipping (and Steel Pipe Circuits)
Just real-quick mod to make all entities with pipe_connections flippable, like the Fuel Refineries and get rid of that pesky "Entity cannot be flipped."
Theoretically works with anything, it's a generic foreach loop, but I'm thinking there's going to be some weird example case or maybe something that uses fluid_boxes but isn't mirrorable and I've only tested it on K2, so don't want to over-promise and break someone's stuff. If you find such use cases, report it to me and I'll fix where possible and refine the loop.
Also fixes the issue where Steel Pipes cannot be connected to with circuits as default pipes and pipe-to-grounds now can, setting it to the same values as the default unless set explicitly otherwise by another mod.
TODO
- Fix Visual Pipe Connection on Uneven Buildings
- Flare-Stack/Uneven Pipe connections flip, but the visual pipe connection does not.