mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-02-04 21:49:47 +00:00
44 lines
1.3 KiB
Plaintext
44 lines
1.3 KiB
Plaintext
/datum/disease/brainrot
|
|
name = "Brainrot"
|
|
medical_name = "Encephalonecrosis"
|
|
max_stages = 4
|
|
spread_text = "On contact"
|
|
spread_flags = DISEASE_SPREAD_BLOOD | DISEASE_SPREAD_FLUIDS | DISEASE_SPREAD_CONTACT
|
|
cure_text = REAGENT_ALKYSINE
|
|
cures = list(REAGENT_ID_ALKYSINE)
|
|
agent = "Cryptococcus Cosmosis"
|
|
viable_mobtypes = list(/mob/living/carbon/human)
|
|
cure_chance = 15
|
|
desc = "Destroys the braincells, causing brain fever, brain necrosis and general intoxication."
|
|
required_organs = list(/obj/item/organ/internal/brain)
|
|
danger = DISEASE_HARMFUL
|
|
|
|
/datum/disease/brainrot/stage_act()
|
|
..()
|
|
switch(stage)
|
|
if(2)
|
|
if(prob(2))
|
|
affected_mob.say("*blink")
|
|
if(prob(2))
|
|
affected_mob.say("*yawn")
|
|
if(prob(2))
|
|
to_chat(affected_mob, span_danger("You don't feel like yourself."))
|
|
if(prob(5))
|
|
affected_mob.adjustBrainLoss(1)
|
|
if(3)
|
|
if(prob(2))
|
|
affected_mob.say("*stare")
|
|
if(prob(3))
|
|
affected_mob.say("*drool")
|
|
if(prob(10) && affected_mob.getBrainLoss() < 100)
|
|
affected_mob.adjustBrainLoss(3)
|
|
if(prob(2))
|
|
to_chat(affected_mob, span_danger("Strange buzzing fills your head, removing all thoughts."))
|
|
if(prob(3))
|
|
to_chat(affected_mob, span_danger("You lose consciousness..."))
|
|
affected_mob.Sleeping(rand(5, 10))
|
|
if(prob(1))
|
|
affected_mob.emote("snore")
|
|
if(prob(15))
|
|
affected_mob.apply_effect(5, STUTTER)
|