mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-01-18 13:02:41 +00:00
To take advantage of hallucinations, just have something that sets the "hallucination" var in a human mob to a positive number (The higher it is, the more crazy things are) LSD is currently the only thing that does that, ATM. (silicon, hydrogen, anti-toxin) git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3221 316c924e-a436-60f5-8080-3fe189b3f50e
72 lines
1.9 KiB
Plaintext
72 lines
1.9 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)) //removed until sleeping is fixed --Blaank
|
|
affected_mob << "\blue You feel better."
|
|
stage--
|
|
return
|
|
*/
|
|
if(affected_mob.lying && prob(20)) //added until sleeping is fixed --Blaank
|
|
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.adjustToxLoss(1)
|
|
affected_mob.updatehealth()
|
|
|
|
if(3)
|
|
/*
|
|
if(affected_mob.sleeping && prob(15)) //removed until sleeping is fixed
|
|
affected_mob << "\blue You feel better."
|
|
stage--
|
|
return
|
|
*/
|
|
if(affected_mob.lying && prob(15)) //added until sleeping is fixed
|
|
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.adjustToxLoss(1)
|
|
affected_mob.updatehealth()
|
|
if(prob(25))
|
|
affected_mob << "\red The world around you feels surreal"
|
|
if(prob(50))
|
|
affected_mob.hallucination += 100
|
|
shake_camera(affected_mob,20)
|
|
return
|