Skip to content
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

Fixes some do_after bugs sourced from mobility #11669

Merged
merged 5 commits into from
Oct 13, 2024

Conversation

Tsar-Salat
Copy link
Contributor

@Tsar-Salat Tsar-Salat commented Oct 11, 2024

About The Pull Request

This PR should fix remaining issues resulting from bad mobility checks or not being checked at all.

Stasis beds will now be escapable when bucklecuffed to them, like any other bed.

Chair bucklecuff unbuckle do_after should now progress properly to its conclusion everytime, and be interrupted correctly.

A player gave an example of discovery scanners being broken, so that has been dealt with as well. Its now possible to scan multiple mobs at the same time again.

closes #11223
closes #11599

Ports:

Why It's Good For The Game

Theres been a few issues.

Chief among these were being buckled to stasis beds not being escapable because both the handcuffs & stasis locked down the traits that let you deal with the other status effect, respectively. Additionally, I was told people were having trouble escaping bucklecuffs from chairs with the do_after doing nothing.

This should fix all the stuff people reported to me. Though, I'm sure someone somewhere didn't say anything though and we'll just find out in 2 months.

Testing Photographs and Procedure

Screenshots&Videos

Stasis bucklecuff

dreamseeker_kL6RaYX2eD.mp4

chair bucklecuff

dreamseeker_VVJ0eeiPVs.mp4

Discovery scanner

dreamseeker_Lo0B1uHMFR.mp4

Changelog

🆑 rkv, LemonInTheDark, kriskog
fix: fix stasis bed bucklecuff escaping
fix: fix chair bucklecuff escaping
code: potentially addresses some hardeletes in progressbar code
code: stoplag no longer stops lag in unit tests (it can hardelete)
code: Refactored the incapacitated proc to skip optional arguments and use the named arguments properly to improve readability.
/:cl:

@Tsar-Salat Tsar-Salat requested a review from itsmeow as a code owner October 11, 2024 19:17
@Tsar-Salat Tsar-Salat changed the title Fixes some do_after bugged sourced from mobility Fixes some do_after bugs sourced from mobility Oct 11, 2024
@Rukofamicom Rukofamicom added this pull request to the merge queue Oct 13, 2024
Merged via the queue into BeeStation:master with commit 2c547fa Oct 13, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants