Files
Bubberstation/code/modules/recycling
Leland KembleandGitHub d74ca23631 Corrects incorrect RPD preview menu & allows you to place clockwise rotator pieces (#94734)
## About The Pull Request

RPD preview menus for diagonal three-way disposal pipes, such as
sorters, were incorrect, due to `flipped` being erroneously set true.
Additionally, the 4-way "rotator" pipe piece would always come out of
the RPD going counterclockwise, as the only way to get a piece's
`flip_type` variant is to hit `post_rotation()` with 180 degrees at
once, and the "flipping" that it does is currently two separate
90-degree rotations as that is all `simple_rotation` is capable of.
These two simulated clicks have been replaced by direct calls to
`setDir()` & `post_rotation()`, to give it the full 180 degrees at once.
None of the safety checks within `simple_rotation` will ever fail coming
out of an RPD, so it's just as safe.

## Why It's Good For The Game

When you press a button with a picture on it that picture should
represent the object that appears when you press the button

## Changelog
🆑

fix: Disposal pipe previews within the RPD ui will now be correct

/🆑
2026-01-08 19:51:59 -07:00
..