Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Conversation

@ynot01
Copy link
Contributor

@ynot01 ynot01 commented Jan 24, 2025

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

image

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:

@Yogbot-13 Yogbot-13 added the Tweak This PR contains changes to the game. label Jan 24, 2025
Comment on lines +739 to +747
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

Copy link
Contributor

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems overengineered

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))
Copy link
Contributor

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

Copy link
Contributor Author

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

@ToasterBiome ToasterBiome merged commit 4dfc579 into yogstation13:master Jan 28, 2025
15 checks passed
Yogbot-13 added a commit that referenced this pull request Jan 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Tweak This PR contains changes to the game.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants