/datum/disease/cold9 name = "The Cold" max_stages = 3 spread_text = "Skin contact" spread_flags = DISEASE_SPREAD_BLOOD | DISEASE_SPREAD_CONTACT_SKIN | DISEASE_SPREAD_CONTACT_FLUIDS cure_text = /datum/reagent/medicine/spaceacillin::name + " or common Cold antibodies" cures = list(/datum/reagent/medicine/spaceacillin) agent = "ICE9-rhinovirus" viable_mobtypes = list(/mob/living/carbon/human) desc = "An adaption of the common cold, slightly more dangerous in nature. \ If left untreated the subject will slow, as if partly frozen." severity = DISEASE_SEVERITY_HARMFUL required_organ = ORGAN_SLOT_LUNGS /datum/disease/cold9/cure(add_resistance) // buy one, get one free if(add_resistance && affected_mob) LAZYOR(affected_mob.disease_resistances, "[/datum/disease/cold]") return ..() /datum/disease/cold9/stage_act(seconds_per_tick) . = ..() if(!.) return switch(stage) if(2) affected_mob.adjust_bodytemperature(-5 * seconds_per_tick) if(SPT_PROB(0.5, seconds_per_tick)) affected_mob.emote("sneeze") if(SPT_PROB(0.5, seconds_per_tick)) affected_mob.emote("cough") if(SPT_PROB(0.5, seconds_per_tick)) to_chat(affected_mob, span_danger("Your throat feels sore.")) if(SPT_PROB(2.5, seconds_per_tick)) to_chat(affected_mob, span_danger("You feel stiff.")) if(SPT_PROB(0.05, seconds_per_tick)) to_chat(affected_mob, span_notice("You feel better.")) cure() return FALSE if(3) affected_mob.adjust_bodytemperature(-10 * seconds_per_tick) if(SPT_PROB(0.5, seconds_per_tick)) affected_mob.emote("sneeze") if(SPT_PROB(0.5, seconds_per_tick)) affected_mob.emote("cough") if(SPT_PROB(0.5, seconds_per_tick)) to_chat(affected_mob, span_danger("Your throat feels sore.")) if(SPT_PROB(5, seconds_per_tick)) to_chat(affected_mob, span_danger("You feel stiff."))