Files
kyunkyunkyun b0463d3c83 Convert most spans to defines (#31080)
* spanish?

* aaaagain

* keep maptext

* Update robot_items.dm

* Update span_defines.dm

* compiles

* Update silicon_mob.dm

* compile
2025-12-13 23:55:48 +00:00

54 lines
1.4 KiB
Plaintext

/datum/disease/flu
name = "The Flu"
max_stages = 3
spread_text = "Airborne"
cure_text = "Spaceacillin"
cures = list("spaceacillin")
cure_chance = 10
agent = "H13N1 flu virion"
viable_mobtypes = list(/mob/living/carbon/human, /mob/living/carbon/human/monkey)
permeability_mod = 0.75
desc = "If left untreated the subject will feel quite unwell."
severity = VIRUS_MINOR
/datum/disease/flu/stage_act()
if(!..())
return FALSE
switch(stage)
if(2)
if(IS_HORIZONTAL(affected_mob) && prob(20))
to_chat(affected_mob, SPAN_NOTICE("You feel better."))
stage--
return
if(prob(1))
affected_mob.emote("sneeze")
if(prob(1))
affected_mob.emote("cough")
if(prob(1))
to_chat(affected_mob, SPAN_DANGER("Your muscles ache."))
if(prob(20))
affected_mob.take_organ_damage(1)
if(prob(1))
to_chat(affected_mob, SPAN_DANGER("Your stomach hurts."))
if(prob(20))
affected_mob.adjustToxLoss(1)
if(3)
if(IS_HORIZONTAL(affected_mob) && prob(15))
to_chat(affected_mob, SPAN_NOTICE("You feel better."))
stage--
return
if(prob(1))
affected_mob.emote("sneeze")
if(prob(1))
affected_mob.emote("cough")
if(prob(1))
to_chat(affected_mob, SPAN_DANGER("Your muscles ache."))
if(prob(20))
affected_mob.take_organ_damage(1)
if(prob(1))
to_chat(affected_mob, SPAN_DANGER("Your stomach hurts."))
if(prob(20))
affected_mob.adjustToxLoss(1)
return