Files
Polaris/code/datums/diseases/flu.dm
tronaldnwn@hotmail.com fe4cf6e301 Disease update:
Trying to add new diseases (still working on them, need to make disease code give the "requires an immunity to another disease to cure this disease" variable)
-Ice 9 Rhinovirus
- Spanish Inquisition Flu
Flu affects monkeys now
Fake GBS affects monkeys now

Access update:
Research director no longer has hydro access, there is no "real" research going on there.
HoP doesn't start with surgery or virology access now, desk jockies should stay at the desk.

Chemistry update:
Reagent Grinder! Grinds reagents out of corn, plasma crystals, uranium, gold, and silver! Will add more later, as needed.

The mined reagents will have many chemistry uses soon, but for now they aren't very useful in a ground state right now.

Map update:
Added Reagent Grinder to chemistry.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1671 316c924e-a436-60f5-8080-3fe189b3f50e
2011-06-08 21:18:21 +00:00

55 lines
1.4 KiB
Plaintext

/datum/disease/flu
name = "The Flu"
max_stages = 3
spread = "Airborne"
cure = "Spaceacillin"
cure_id = "spaceacillin"
cure_chance = 10
agent = "H13N1 flu virion"
affected_species = list("Human", "Monkey")
permeability_mod = 0.75
desc = "If left untreated the subject will feel quite unwell."
severity = "Medium"
/datum/disease/flu/stage_act()
..()
switch(stage)
if(2)
if(affected_mob.sleeping && prob(20))
affected_mob << "\blue You feel better."
stage--
return
if(prob(1))
affected_mob.emote("sneeze")
if(prob(1))
affected_mob.emote("cough")
if(prob(1))
affected_mob << "\red Your muscles ache."
if(prob(20))
affected_mob.take_organ_damage(1)
if(prob(1))
affected_mob << "\red Your stomach hurts."
if(prob(20))
affected_mob.toxloss += 1
affected_mob.updatehealth()
if(3)
if(affected_mob.sleeping && prob(15))
affected_mob << "\blue You feel better."
stage--
return
if(prob(1))
affected_mob.emote("sneeze")
if(prob(1))
affected_mob.emote("cough")
if(prob(1))
affected_mob << "\red Your muscles ache."
if(prob(20))
affected_mob.take_organ_damage(1)
if(prob(1))
affected_mob << "\red Your stomach hurts."
if(prob(20))
affected_mob.toxloss += 1
affected_mob.updatehealth()
return