Files
CHOMPStation2/code/datums/diseases/cold9.dm
2015-07-18 21:13:32 +01:00

40 lines
1.2 KiB
Plaintext

/datum/disease/cold9
name = "The Cold"
max_stages = 3
spread = "On contact"
spread_type = CONTACT_GENERAL
cure = "Common Cold Anti-bodies & Spaceacillin"
cure_id = "spaceacillin"
agent = "ICE9-rhinovirus"
affected_species = list("Human")
desc = "If left untreated the subject will slow, as if partly frozen."
severity = "Moderate"
/datum/disease/cold9/stage_act()
..()
switch(stage)
if(2)
affected_mob.bodytemperature -= 10
if(prob(1) && prob(10))
affected_mob << "<span class='notice'>You feel better.</span>"
cure()
return
if(prob(1))
affected_mob.emote("sneeze")
if(prob(1))
affected_mob.emote("cough")
if(prob(1))
affected_mob << "<span class='warning'>Your throat feels sore.</span>"
if(prob(5))
affected_mob << "<span class='warning'>You feel stiff.</span>"
if(3)
affected_mob.bodytemperature -= 20
if(prob(1))
affected_mob.emote("sneeze")
if(prob(1))
affected_mob.emote("cough")
if(prob(1))
affected_mob << "<span class='warning'>Your throat feels sore.</span>"
if(prob(10))
affected_mob << "<span class='warning'>You feel stiff.</span>"