[MIRROR] Fixes some medical issue stuff (#11286)

Co-authored-by: SatinIsle <98125273+SatinIsle@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-08-02 08:00:52 -07:00
committed by GitHub
parent 4b4edabce6
commit 3d44de4ed3
2 changed files with 7 additions and 4 deletions

View File

@@ -43,7 +43,7 @@
handle_curing() handle_curing()
if(symptom_text) if(symptom_text)
if(prob(5)) if(prob(1))
to_chat(owner, span_danger("[symptom_text]")) to_chat(owner, span_danger("[symptom_text]"))
if(symptom_affect) if(symptom_affect)
@@ -83,6 +83,9 @@
for(var/datum/reagent/R in owner.reagents.reagent_list) for(var/datum/reagent/R in owner.reagents.reagent_list)
if(R.name == cure_reagent) if(R.name == cure_reagent)
unhealth = unhealth - reagent_strength unhealth = unhealth - reagent_strength
for(var/datum/reagent/R in owner.ingested.reagent_list)
if(R.name == cure_reagent)
unhealth = unhealth - reagent_strength
/datum/medical_issue/proc/handle_symptoms() /datum/medical_issue/proc/handle_symptoms()
switch(symptom_affect) switch(symptom_affect)

View File

@@ -166,6 +166,9 @@ var/list/organ_cache = list()
handle_organ_proc_special() handle_organ_proc_special()
for(var/datum/medical_issue/I in medical_issues)
I.handle_effects()
//Process infections //Process infections
if(robotic >= ORGAN_ROBOT || (istype(owner) && (owner.species && (owner.species.flags & (IS_PLANT | NO_INFECT))))) if(robotic >= ORGAN_ROBOT || (istype(owner) && (owner.species && (owner.species.flags & (IS_PLANT | NO_INFECT)))))
germ_level = 0 germ_level = 0
@@ -191,9 +194,6 @@ var/list/organ_cache = list()
handle_rejection() handle_rejection()
handle_germ_effects() handle_germ_effects()
for(var/datum/medical_issue/I in medical_issues)
I.handle_effects()
/obj/item/organ/examine(mob/user) /obj/item/organ/examine(mob/user)
. = ..() . = ..()
if(status & ORGAN_DEAD) if(status & ORGAN_DEAD)