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

Mop and bucket interaction fix #315

Merged
merged 1 commit into from
Sep 1, 2023
Merged

Conversation

Denesta
Copy link
Contributor

@Denesta Denesta commented Aug 31, 2023

About The Pull Request

Fixed the right click interaction between buckets and mops. Before, right clicking on the bucket with a mop was also trigging the effect of a left click. I added return values to attackby_secondary to stop this fallback behavior.

While I was at it I added a check to see if the mop was empty and made it display a message to inform the user.

Why It's Good For The Game

It's a fix to a broken mechanic. It stops the mop from instantly rewetting in the buckets contents when you are attempting to wring it out.

Changelog

🆑
add: Added new message when trying to wring out a dry mop into a bucket.
fix: Fixed right clicking a mop on a bucket also acting as a left click.
/:cl:

Added return values to attackby_secondary to prevent the default action of calling attackby.

Added a message for wringing out dry mop.
@dwasint dwasint merged commit e1945f4 into Monkestation:master Sep 1, 2023
19 of 21 checks passed
github-actions bot added a commit that referenced this pull request Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants