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

Fix temperature affecting bandages #25932

Merged
merged 1 commit into from
Oct 1, 2018

Conversation

alanbrady
Copy link
Contributor

Summary

SUMMARY: Bugfixes "Fix extreme temperature affecting healing items"

Purpose of change

Extreme temperatures damaging bandages and disinfectant is unexpected.

Describe the solution

Add an optional parameter to apply_damage to tell it not to damage medicinal objects. When applying damage from fields, bypass damaging the bandage in this case. This fixes temperatures causing damage to bandages but retains the property of zombies bashing on you destroying the bandage.

Describe alternatives you've considered

You might be able to construe cases for each one of the different field types for inflicting different types of damage to applied healing products but this is a much heavier lift. In the future it may be worth going this far, but for now, just skip applying damage to the healing items in these cases.

Additional context

Fixes #24652

@ZhilkinSerg ZhilkinSerg merged commit 7c68d8e into CleverRaven:master Oct 1, 2018
@alanbrady alanbrady deleted the fix-temp-bandage branch October 2, 2018 00:14
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.

Severe Temperature Destroys Bandages and Disinfectants
2 participants