mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-06-26 07:43:42 +01:00
dad3774e7b
* Spring cleaning * The great virus reclassification * Add severity comment to Fake GBS * Fix Jungle Fever being uncurable * Fix Shock causing fainting slightly too often * Makes Brainrot kill more reliably (yes, it already did) * Make Wizarditis replace clothes a bit less eagerly, cleanup * Buff Wizarditis effects' probabilities * Add a bit of variety to Wizarditis flavor messages * Clean up, nerf, and add some variety to Lycancoughy * Refactor Spanish Inquisition Flu * Refactor and slightly rebalance ICE9 Cold * Fix DROPDEL items not GCing properly sometimes * Lightly overhaul Pierrot's Throat * Remove unnecessary `null` declaration assignment * Deduplicate Critical disease properties * Spring cleaning 2: Electric Boogaloo * whoops * Fixes DROPDEL items not GCing properly someothertimes * Make Wizarditis clothes DROPDEL too * Lewcc review * Deduplicate Pierrot's Throat symptoms * Spread out Cold9 and Spanish Flu's damage * Clean up Adv. Kingstons * Fix Adv. Kingstons *healing* brute damage
54 lines
1.5 KiB
Plaintext
54 lines
1.5 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 = 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 class='notice'>You feel better.</span>")
|
|
stage--
|
|
return
|
|
if(prob(1))
|
|
affected_mob.emote("sneeze")
|
|
if(prob(1))
|
|
affected_mob.emote("cough")
|
|
if(prob(1))
|
|
to_chat(affected_mob, "<span class='danger'>Your muscles ache.</span>")
|
|
if(prob(20))
|
|
affected_mob.take_organ_damage(1)
|
|
if(prob(1))
|
|
to_chat(affected_mob, "<span class='danger'>Your stomach hurts.</span>")
|
|
if(prob(20))
|
|
affected_mob.adjustToxLoss(1)
|
|
|
|
if(3)
|
|
if(IS_HORIZONTAL(affected_mob) && prob(15))
|
|
to_chat(affected_mob, "<span class='notice'>You feel better.</span>")
|
|
stage--
|
|
return
|
|
if(prob(1))
|
|
affected_mob.emote("sneeze")
|
|
if(prob(1))
|
|
affected_mob.emote("cough")
|
|
if(prob(1))
|
|
to_chat(affected_mob, "<span class='danger'>Your muscles ache.</span>")
|
|
if(prob(20))
|
|
affected_mob.take_organ_damage(1)
|
|
if(prob(1))
|
|
to_chat(affected_mob, "<span class='danger'>Your stomach hurts.</span>")
|
|
if(prob(20))
|
|
affected_mob.adjustToxLoss(1)
|
|
return
|