-
-
Notifications
You must be signed in to change notification settings - Fork 446
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
Strengthens counterplay vs allergens #22973
Conversation
if(H.reagents.has_reagent(/datum/reagent/medicine/epinephrine)) | ||
return | ||
if(H.reagents.has_reagent(/datum/reagent/medicine/atropine)) | ||
return | ||
if(H.reagents.has_reagent(/datum/reagent/medicine/diphenhydramine)) | ||
return | ||
if(H.reagents.has_reagent(/datum/reagent/medicine/synaphydramine)) | ||
return | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not just make a list of reagents and loop through the list checking if they have one of them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems overengineered
@@ -281,6 +281,9 @@ | |||
if(DISGUST_LEVEL_DISGUSTED to INFINITY) | |||
msg += "[t_He] look[p_s()] extremely disgusted.\n" | |||
|
|||
var/datum/quirk/allergic/allergen = has_quirk(/datum/quirk/allergic) | |||
if((allergen && reagents?.has_reagent(allergen.reagent_id)) || reagents?.has_reagent(/datum/reagent/toxin/histamine)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could also reference the cooldown that the quirk uses to track allergic reactions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that would be strange and inconsistent use of a variable that is not meant for that
Document the changes in your pull request
Adds a bold examine tell when someone is undergoing a allergic reaction
Epinephrine, atropine, diphenhydramine, and synaphydramine (unused) now prevent further symptoms of allergic reactions
Epinephrine now reduces current losebreath by a tenth each process, making it significantly reduce losebreath and making recovery feasible
Histamine is also affected, but not its overdose
Why is this good for the game?
Allergic reaction is pretty much instant death
Inexperienced doctors may not know what is happening, examine text will help them
Epipens are now actually useful for allergic reactions, as one would expect
Testing
Changelog
🆑
tweak: Humans undergoing allergic reactions now have a swollen face examine tell
tweak: Epinephrine, atropine, and diphenhydramine now prevent further symptoms of an allergic reaction for as long as they are in the system
tweak: Epinephrine now reduces losebreath stacks by a tenth each process, making it effective for slowly treating allergic reactions
/:cl: