-
Notifications
You must be signed in to change notification settings - Fork 92
Fix graphic pipe connections #1203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix graphic pipe connections #1203
Conversation
Renamed Hydro Plant pipe graphics to match their actual direction. (east -> west) Code formatting adjustment.
| { | ||
| production_type = "input", | ||
| mirrored_pipe_picture = angelsmods.petrochem.steamcrackerpipepictures1(), | ||
| --pipe_picture = floatationpipepictures(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should pipe_picture be set here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not in this case, the default view is blank, so it is not shown, but if we flip it then we need to show the mirrored one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because the buildings don't actually rotate, their h/v "mirror" just changes the pipe output ordering, but it does mean it will move a pipe that was not visible before the mirroring.
Also because the buildings don't rotate, we can just use the "other" pipe's graphic without having to actually mirror them.
angelsrefininggraphics/graphics/entity/filtration-unit/target.png
Outdated
Show resolved
Hide resolved
…unit; delete unused target image
Addresses : #1171
Main issue was fixing Filtration building, however, saw that some others from Petrochem had issues as well, took a stab at those.
Due to how the overlay / transparency is working, I can't -quite- get the shadows of the pipe match to the shadows of the Filter building. Tweaked things, but I'm not really an artist here.
There's a few other Petrochem buildings with "floating" Pipe end-caps, I left them as they are not quite as glaring.
Advanced Chem plant will require more artistic abilities that I have (nearly zero).
Edited the Hydro Plant's west facing pipe connection to be "pipe-west1.png", from "pipe-east1.png".
May break if something else calls those, but the current functioning mods didn't. :-)