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

Pill bottle emptying bugfix #7357

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SpypigDev
Copy link
Contributor

@SpypigDev SpypigDev commented Oct 22, 2024

About the pull request

Fixes an annoying bug introduced in #7265 which caused pill bottles to run through two simultaneous emptying processes whenever used in the hand. First trying to empty their contents, then moving to their own pill drawing code, and trying to draw a single pill from the empty bottle.

This PR bypasses the typical emptying system, for pill bottles and packets, allowing a single pill to be drawn from a pill bottle in hand with Z, but still leaves the empty verb functional, so bottles can be emptied by selecting the option after right clicking.

Explain why it's good for the game

While I recognize I am in the vast minority, some HM players still prefer not to use the belt system of drawing directly from pill bottles when treating patients.

Drawing a pill from a pill bottle held in the hand allows HMs to keep track of which medications have been given, and in what order.

#7265 broke this system by forcing HMs to start emptying pill bottles in the hand on a click, rather than drawing a single pill, making it exceptionally annoying to medicate wounded without belt mode, and near impossible to do so without a belt.

This PR allows both systems to co-exist, letting HMs draw a single pill from bottles held in the hand if they choose to do so, and still leaving the empty verb on pill bottles, so that their contents can be dumped through the right click menu

Testing Photographs and Procedure

Screenshots & Videos

Put screenshots and videos here with an empty line between the screenshots and the <details> tags.

Changelog

🆑
fix: no longer forces pill bottles to begin emptying on a click
/:cl:

@cmss13-ci cmss13-ci bot added the Fix Fix one bug, make ten more label Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fix Fix one bug, make ten more
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant