mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-27 10:32:40 +00:00
- Retrovirus is now curable. However, unlike most viruses, when it infects a host it generates a random cure. This cure can be either Ryetalyn or rest. For good measure, a doctor should prescribe Ryetalyn AND send them to the recovery room for rest.
- Fixed a crash in the seeds crate that would result in the crate only having berry seeds. A small typo.
- Fixed some grammar.
- Cloning people should now transfer their UI preferences onto the clones.
- Portable Artificial Intelligences should now properly be able to use the messaging software. They generated some odd runtimes caused by normal PDAs not recognizing pAIs in the PDAs list.
- Hopefully, I made equipping and dropping items a bit more responsive.
- As a result of the fix above, the item duplication bug (two people pick an item up at the same time) should theoretically not happen anymore. When I mean theoretically, I mean I have no way of testing this for sure.
- Cleaned up some of Deuryn's code in a previous revision.
Miscellaneous:
- The Cold can now be cured if you're just laying down, although actually sleeping will greatly increase your odds of curing it.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2016 316c924e-a436-60f5-8080-3fe189b3f50e
62 lines
1.7 KiB
Plaintext
62 lines
1.7 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))
|
|
affected_mob << "\blue You feel better."
|
|
cure()
|
|
return
|
|
if(affected_mob.lying && prob(10))
|
|
affected_mob << "\blue You feel better."
|
|
cure()
|
|
return
|
|
if(prob(1) && prob(5))
|
|
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(1))
|
|
affected_mob << "\red Mucous runs down the back of your throat."
|
|
if(3)
|
|
if(affected_mob.sleeping && prob(25))
|
|
affected_mob << "\blue You feel better."
|
|
cure()
|
|
return
|
|
if(affected_mob.lying && prob(5))
|
|
affected_mob << "\blue You feel better."
|
|
cure()
|
|
return
|
|
if(prob(1) && prob(1))
|
|
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(1))
|
|
affected_mob << "\red Mucous runs down the back of your throat."
|
|
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() |