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
Adds modular pipe ends #17268
Adds modular pipe ends #17268
Conversation
changes images to no longer use non-modular pipes adjusts certain images to accomadate varying colours Removes icon states that are no longer useful Modular pipe ends can be coloured and hidden Adds a caching system for the modular pipes Some more things I'm probably forgetting
…nto pipeunderlays
…nto pipeunderlays
the furnace connector now uses modular pipes
…nto pipeunderlays
adds extra types so they dont have to be varedited Uses map icons using the IN_MAP_EDITOR define
hello yes please review well i probably missed something |
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.
Brief look over the code, thank you for providing an update paths script for secret <3
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.
Looks way better. Can't see anything broken with it in testing, code seems fine.
Was the revert of #17334 intentional? |
no not particularly |
mapmerge was being funky so im blaming that |
[ATMOSPHERICS][INTERNAL][CLEAN]
About the PR
Adds modular pipe ends, pipe underlays that can be easily changed to shown, hidden, or exposed. They can also have colors based on what they are connected to.
They use the format SET_PIPE_UNDERLAY(the node being connected to, the dir, size of pipe when exposed which can be "short" "medium" or "long", color of pipe, hide or show the pipe)
Gives it a icon cache so memory and perf is saved.
Adds icon map versions for atmos devices since we kinda don't want a valve with no pipe being shown in SDMM.
Adds subtypes so people don't have to varedit to the map icon they need. Adds these types to maps.
Changes the indicator on the pump and the dual vent so they don't get masked by the pipe color.
Manifolds now have consistent node directions so I don't have to deal with bits on this.
Why's this needed?
Makes it so much easier to edit icons, as you don't need to add pipes onto each state.
Improves consistency, as the pipes are centralised in one file.
Helps out mappers a bit so they need to do less varediting.
Changelog