mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-09 16:14:13 +00:00
Conflicts: code/ATMOSPHERICS/pipe/pipe_dispenser.dm code/game/machinery/computer/HolodeckControl.dm code/game/machinery/embedded_controller/embedded_controller_base.dm code/modules/mining/money_bag.dm code/modules/mob/living/carbon/carbon.dm code/modules/mob/living/silicon/mommi/mommi.dm code/modules/mob/living/simple_animal/friendly/farm_animals.dm code/modules/research/destructive_analyzer.dm code/modules/research/rdconsole.dm code/modules/research/xenoarchaeology/machinery/analysis_base.dm code/modules/research/xenoarchaeology/machinery/artifact_harvester.dm code/modules/research/xenoarchaeology/tools/ano_device_battery.dm
66 lines
2.1 KiB
Plaintext
66 lines
2.1 KiB
Plaintext
/datum/disease/cold
|
|
name = "The Cold"
|
|
max_stages = 3
|
|
spread = "Airborne"
|
|
cure = "Rest & Spaceacillin"
|
|
cure_id = "spaceacillin"
|
|
agent = "XY-rhinovirus"
|
|
affected_species = list("Human", "Monkey")
|
|
permeability_mod = 0.5
|
|
desc = "If left untreated the subject will contract the flu."
|
|
severity = "Minor"
|
|
|
|
/datum/disease/cold/stage_act()
|
|
..()
|
|
switch(stage)
|
|
if(2)
|
|
/*
|
|
if(affected_mob.sleeping && prob(40)) //removed until sleeping is fixed
|
|
affected_mob << "<span class='notice'>You feel better.</span>"
|
|
cure()
|
|
return
|
|
*/
|
|
if(affected_mob.lying && prob(40)) //changed FROM prob(10) until sleeping is fixed
|
|
affected_mob << "<span class='notice'>You feel better.</span>"
|
|
cure()
|
|
return
|
|
if(prob(1) && prob(5))
|
|
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(1))
|
|
affected_mob << "<span class='warning'>Mucous runs down the back of your throat.</span>"
|
|
if(3)
|
|
/*
|
|
if(affected_mob.sleeping && prob(25)) //removed until sleeping is fixed
|
|
affected_mob << "<span class='notice'>You feel better.</span>"
|
|
cure()
|
|
return
|
|
*/
|
|
if(affected_mob.lying && prob(25)) //changed FROM prob(5) until sleeping is fixed
|
|
affected_mob << "<span class='notice'>You feel better.</span>"
|
|
cure()
|
|
return
|
|
if(prob(1) && prob(1))
|
|
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(1))
|
|
affected_mob << "<span class='warning'>Mucous runs down the back of your throat.</span>"
|
|
if(prob(1) && prob(50))
|
|
if(!affected_mob.resistances.Find(/datum/disease/flu))
|
|
var/datum/disease/Flu = new /datum/disease/flu(0)
|
|
affected_mob.contract_disease(Flu,1)
|
|
cure() |