mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-11 01:51:51 +00:00
* 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
57 lines
1.8 KiB
Plaintext
57 lines
1.8 KiB
Plaintext
/datum/disease/brainrot
|
|
name = "Brainrot"
|
|
max_stages = 4
|
|
spread_text = "On contact"
|
|
spread_flags = CONTACT_GENERAL
|
|
cure_text = "Mannitol"
|
|
cures = list("mannitol")
|
|
agent = "Cryptococcus Cosmosis"
|
|
viable_mobtypes = list(/mob/living/carbon/human)
|
|
cure_chance = 15
|
|
desc = "This disease destroys the braincells, causing brain fever, brain necrosis and general intoxication."
|
|
required_organs = list(/obj/item/organ/internal/brain)
|
|
severity = HARMFUL
|
|
|
|
/datum/disease/brainrot/stage_act()
|
|
if(!..())
|
|
return FALSE
|
|
switch(stage)
|
|
if(2)
|
|
if(prob(2))
|
|
affected_mob.emote("blink")
|
|
if(prob(2))
|
|
affected_mob.emote("yawn")
|
|
if(prob(2))
|
|
to_chat(affected_mob, "<span class='danger'>You don't feel like yourself.</span>")
|
|
if(prob(5))
|
|
affected_mob.adjustBrainLoss(1)
|
|
if(3)
|
|
if(prob(2))
|
|
affected_mob.emote("stare")
|
|
if(prob(2))
|
|
affected_mob.emote("drool")
|
|
if(prob(10) && affected_mob.getBrainLoss() < 100)
|
|
affected_mob.adjustBrainLoss(2)
|
|
if(prob(2))
|
|
to_chat(affected_mob, "<span class='danger'>Your try to remember something important...but can't.</span>")
|
|
|
|
if(4)
|
|
if(prob(2))
|
|
affected_mob.emote("stare")
|
|
if(prob(2))
|
|
affected_mob.emote("drool")
|
|
if(prob(15) && affected_mob.getBrainLoss() < 100)
|
|
affected_mob.adjustBrainLoss(3)
|
|
if(prob(2))
|
|
to_chat(affected_mob, "<span class='danger'>Strange buzzing fills your head, removing all thoughts.</span>")
|
|
if(prob(3))
|
|
to_chat(affected_mob, "<span class='danger'>You lose consciousness...</span>")
|
|
affected_mob.visible_message("<span class='warning'>[affected_mob] suddenly collapses</span>")
|
|
affected_mob.Paralyse(rand(10 SECONDS, 20 SECONDS))
|
|
if(prob(1))
|
|
affected_mob.emote("snore")
|
|
if(prob(15))
|
|
affected_mob.AdjustStuttering(6 SECONDS)
|
|
|
|
return
|