Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes Inconsistent Synth Maintenance Stations Icons (#8153)
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may not be viewable. --> # About the pull request This whole thing was a mess. Drathek and the coding community helped me put this together. I had not experienced the issue where the Synthetic Maintenance System's icon state does not change properly when occupied and whether or not an APC is present, but investigating #4546 led me down a rabbit hole that resulted in me fixing several unrelated problems, mentioned in the changelog. Just to be safe, however, the Synthetic Maintenance System now automatically spits somebody out if it has 0 charge under any circumstance and it refuses entry until it has some charge again. It needs a powered APC to charge, anyway, so... # Explain why it's good for the game Fixes #4546 # Testing Photographs and Procedure <!-- !! If you are modifying sprites, you **must** include one or more in-game screenshots or videos of the new sprites. !! --> <details> <summary>Screenshots & Videos</summary> ![image](https://github.com/user-attachments/assets/369b0885-47af-41a7-9ac1-396cd2179d01) This maintenance station has no APC powering it and it has 0 charge. It flashes red to let you know it's completely fucked. ![image](https://github.com/user-attachments/assets/2f733171-c555-42d9-994b-b9c8fe48cc52) This maintenance station has no APC powering it but it has a little bit of charge left, so the light is still green. </details> # Changelog :cl: imageadd: Synthetic Maintenance Stations now blink red if they cannot be operated under any circumstances. imageadd: Synthetic Maintenance Stations flash green whether or not an APC is powering it to indicate it can still operate with charge. fix: Synthetic Maintenance Stations now properly display the correct occupied icon state whether or not there is an APC powering the machine whilst somebody is inside. code: Fixed and added code that makes Synthetic Maintenance Stations automatically eject patients if they run out of charge while operating. code: Added code that disables patients from entering the Synthetic Maintenance Station if it has no charge left. /:cl: <!-- Both :cl:'s are required for the changelog to work! --> --------- Co-authored-by: harryob <[email protected]>
- Loading branch information