Stop phones from going in lockers/crates #6856
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
About the pull request
stops phones from going in lockers/crates, which prevents players from exploiting the phone drag feature.
fixes #6201
i tried making it so the phones would bust out of the crate, but it would look really odd as reset_tether() would get called and the phone would magically teleported and become attached to the backpack. i couldn't find a way to make it smoothly pop out of the crate, and i think this is a decent enough alternative, as i don't know if a single situation where a player would need to store a phone.
this also stops the phone tether from becoming destroyed if you put it in an anchored closet.
Explain why it's good for the game
fixes a (funny) exploit and another niche issue
Testing Photographs and Procedure
Screenshots & Videos
Put screenshots and videos here with an empty line between the screenshots and the
<details>
tags.locker.fix.mp4
Changelog
🆑
fix: Phones can no longer be stored in closets/crates, which prevents players from dragging crates with their phones and other weird issues that can occur.
/:cl: