Flu vaccine lasts 6 months instead of forever #40287
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.
Summary
SUMMARY: Bugfixes "Flu vaccine lasts 6 months instead of forever"
Purpose of change
To make the flu vaccine in game have a realistic effect length (6 months, rather than forever).
Describe the solution
Change the
flu_vaccine
function to use a 6-month duration, and not use a permanent effect.Describe alternatives you've considered
The real flu vaccine doesn't guarantee immunity, but I'm not sure how to model that. Giving it a non-infinite duration seemed like a good compromise.
Testing
In-game, to ensure the duration and permanence did what I expected:
Additional context
The 30-day duration was added in #33243 but the "permanent" flag predates it. 30 days much too short for a realistic flu shot effect anyway: