mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 02:16:05 +00:00
Fixed a boatload of runtime errors. There's so many I just completely forgot what they all were!
Explosions / Singularities now do not gib people "one-by-one" as some people may have noticed. This looked absolutely weird.
Sounds:
I was planning on making sounds become all distorted and whatnot if you were "high", but there were some problems. I've instead just settled with making deaf people not being able to hear non-ambient sounds at all.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1941 316c924e-a436-60f5-8080-3fe189b3f50e
39 lines
1.0 KiB
Plaintext
39 lines
1.0 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 << "\blue You feel better."
|
|
cure()
|
|
return
|
|
if(prob(1))
|
|
affected_mob.emote("sneeze")
|
|
if(prob(1))
|
|
affected_mob.emote("cough")
|
|
if(prob(1))
|
|
affected_mob << "\red Your throat feels sore."
|
|
if(prob(5))
|
|
affected_mob << "\red You feel stiff."
|
|
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 << "\red Your throat feels sore."
|
|
if(prob(10))
|
|
affected_mob << "\red You feel stiff." |