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

Prevent Instant Unequip of Clothing #594

Merged

Conversation

Mnemotechnician
Copy link
Contributor

Description

Prevents players from picking up their own equipped clothing (via the "put in hand" verb or otherwise) and thus bypassing the unequip delay completely.

Does so by cancelling the GettingPickedUpAttemptEvent on equipped clothing. This does not prevent unequipping the clothing normally, i.e. by interacting with it in the inventory, or stripping clothing from others.

Changelog

No cl no fun - most people don't even know this was an option.

@github-actions github-actions bot added the Changes: C# Changes any cs files label Jul 25, 2024
@SimpleStation14 SimpleStation14 changed the title Prevent instant unequip of clothing Prevent Instant Unequip of Clothing Jul 25, 2024
@VMSolidus VMSolidus merged commit bffc876 into Simple-Station:master Jul 25, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changes: C# Changes any cs files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants