Files
CHOMPStation2/code/datums/diseases/cold9.dm
CHOMPStation2StaffMirrorBot 5193d70d2b [MIRROR] Virology Update #3 (#10690)
Co-authored-by: Guti <32563288+TheCaramelion@users.noreply.github.com>
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
Co-authored-by: chompstation-ci[bot] <199999496+chompstation-ci[bot]@users.noreply.github.com>
Co-authored-by: sunofang <38206283+sunofang@users.noreply.github.com>
Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-04-21 22:23:01 +02:00

46 lines
1.3 KiB
Plaintext

/datum/disease/cold9
name = "The Cold"
medical_name = "ICE9 Cold"
max_stages = 3
spread_text = "On contact"
spread_flags = DISEASE_SPREAD_CONTACT | DISEASE_SPREAD_BLOOD | DISEASE_SPREAD_FLUIDS
cure_text = REAGENT_SPACEACILLIN
cures = list(REAGENT_ID_SPACEACILLIN)
agent = "ICE9-rhinovirus"
viable_mobtypes = list(/mob/living/carbon/human)
desc = "If left untreated the subject will slow, as if partly frozen."
danger = DISEASE_HARMFUL
/datum/disease/cold9/stage_act()
..()
switch(stage)
if(1)
if(prob(1))
affected_mob.emote("sniff")
if(2)
if(prob(10))
affected_mob.bodytemperature -= 2
if(prob(1) && prob(10))
to_chat(affected_mob, span_notice("You feel better."))
cure()
return
if(prob(1))
affected_mob.emote("sneeze")
if(prob(1))
affected_mob.emote("cough")
if(prob(1))
to_chat(affected_mob, span_danger("Your throat feels sore."))
if(prob(5))
to_chat(affected_mob, span_danger("You feel stiff."))
if(3)
if(prob(10))
affected_mob.bodytemperature -= 5
if(prob(1))
affected_mob.emote("sneeze")
if(prob(1))
affected_mob.emote("cough")
if(prob(1))
to_chat(affected_mob, span_danger("Your throat feels sore."))
if(prob(10))
to_chat(affected_mob, span_danger("You feel stiff."))