mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
[MIRROR] Fixes some medical issue stuff (#11286)
Co-authored-by: SatinIsle <98125273+SatinIsle@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
4b4edabce6
commit
3d44de4ed3
@@ -43,7 +43,7 @@
|
||||
handle_curing()
|
||||
|
||||
if(symptom_text)
|
||||
if(prob(5))
|
||||
if(prob(1))
|
||||
to_chat(owner, span_danger("[symptom_text]"))
|
||||
|
||||
if(symptom_affect)
|
||||
@@ -83,6 +83,9 @@
|
||||
for(var/datum/reagent/R in owner.reagents.reagent_list)
|
||||
if(R.name == cure_reagent)
|
||||
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()
|
||||
switch(symptom_affect)
|
||||
|
||||
@@ -166,6 +166,9 @@ var/list/organ_cache = list()
|
||||
|
||||
handle_organ_proc_special()
|
||||
|
||||
for(var/datum/medical_issue/I in medical_issues)
|
||||
I.handle_effects()
|
||||
|
||||
//Process infections
|
||||
if(robotic >= ORGAN_ROBOT || (istype(owner) && (owner.species && (owner.species.flags & (IS_PLANT | NO_INFECT)))))
|
||||
germ_level = 0
|
||||
@@ -191,9 +194,6 @@ var/list/organ_cache = list()
|
||||
handle_rejection()
|
||||
handle_germ_effects()
|
||||
|
||||
for(var/datum/medical_issue/I in medical_issues)
|
||||
I.handle_effects()
|
||||
|
||||
/obj/item/organ/examine(mob/user)
|
||||
. = ..()
|
||||
if(status & ORGAN_DEAD)
|
||||
|
||||
Reference in New Issue
Block a user