mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-21 11:07:46 +01:00
* Base stuff * Thresholds * Cockroaches, adjustments * Extrapolator + TGUI Update * Adjustments * Updoot * Revert "Updoot" This reverts commit8c27a2525e. * Gwuh * test * heals * Genetic * Holder and vomit * Indents * Compilable :) * Various fixes * Updates Symptoms * Genevirus * Neutered Symptoms * Adjustments * rads * Extra symptoms * Extra extra symptoms * Adjustments, fixes, more symptoms * Powder that makes the linter green * Finishing touches? * Fixup maps in TGM format5041170ae1: maps/expedition_vr/beach/submaps/quarantineshuttle.dmm Automatically commited by: tools\mapmerge2\fixup.py * Last bits * Defines * Oxy heal * I crave the green check * fix * Maps * Macrophages to turf * Fimxes * Fixes :) * Vomit * Preset * Fire desc * SPELLING MISTAKE * Extra stuffs * types Allows infecting children of a type * feet paws? * fix * Fixes * Update * Flags * Update _disease.dm * Infinite blood glitch (100% real) * virus data properly carries over * GODSPEED, KELENIUS YOUR 10 YEAR TODO IS FINALLY DONE * define * U2 * Implicit * Damn it Fleming * oops linter is kill * Update _reagents.dm * Extra check * . * ough * fixes * Small changes --------- Co-authored-by: Cameron Lennox <killer65311@gmail.com>
65 lines
2.0 KiB
Plaintext
65 lines
2.0 KiB
Plaintext
/datum/disease/cold
|
|
name = "The Cold"
|
|
max_stages = 3
|
|
spread_text = "Airborne"
|
|
spread_flags = DISEASE_SPREAD_AIRBORNE
|
|
cure_text = "Rest & " + REAGENT_SPACEACILLIN
|
|
cures = list(REAGENT_ID_SPACEACILLIN, REAGENT_ID_CHICKENSOUP)
|
|
virus_modifiers = NONE //Does NOT have needs_all_cures
|
|
agent = "XY-rhinovirus"
|
|
viable_mobtypes = list(/mob/living/carbon/human, /mob/living/carbon/human/monkey)
|
|
permeability_mod = 0.5
|
|
desc = "If left untreated the subject will contract the flu."
|
|
danger = DISEASE_MINOR
|
|
|
|
/datum/disease/cold/stage_act()
|
|
..()
|
|
switch(stage)
|
|
if(2)
|
|
if(affected_mob.stat == UNCONSCIOUS && prob(40))
|
|
to_chat(affected_mob, span_notice("You feel better."))
|
|
cure()
|
|
return
|
|
if(affected_mob.lying && prob(10))
|
|
to_chat(affected_mob, span_notice("You feel better."))
|
|
cure()
|
|
return
|
|
if(prob(1) && prob(5))
|
|
to_chat(affected_mob, span_notice("You feel better."))
|
|
cure()
|
|
return
|
|
if(prob(1))
|
|
affected_mob.emote("sneeze")
|
|
if(prob(1))
|
|
affected_mob.emote("cough")
|
|
if(prob(1))
|
|
to_chat(affected_mob, span_notice("Your throat feels sore."))
|
|
if(prob(1))
|
|
to_chat(affected_mob, span_notice("Mucous runs down the back of your throat."))
|
|
if(3)
|
|
if(affected_mob.stat == UNCONSCIOUS && prob(25))
|
|
to_chat(affected_mob, span_notice("You feel better."))
|
|
cure()
|
|
return
|
|
if(affected_mob.lying && prob(5))
|
|
to_chat(affected_mob, span_notice("You feel better."))
|
|
cure()
|
|
return
|
|
if(prob(1) && prob(1))
|
|
to_chat(affected_mob, span_notice("You feel better."))
|
|
cure()
|
|
return
|
|
if(prob(1))
|
|
affected_mob.emote("sneeze")
|
|
if(prob(1))
|
|
affected_mob.emote("cough")
|
|
if(prob(1))
|
|
to_chat(affected_mob, span_notice("Your throat feels sore."))
|
|
if(prob(1))
|
|
to_chat(affected_mob, span_notice("Mucous runs down the back of your throat."))
|
|
if(prob(1) && prob(50))
|
|
if(affected_mob.HasResistance(/datum/disease/flu))
|
|
var/datum/disease/Flu = new /datum/disease/flu(0)
|
|
affected_mob.ContractDisease(Flu)
|
|
cure()
|