mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-25 17:02:04 +00:00
* spanish? * aaaagain * keep maptext * Update robot_items.dm * Update span_defines.dm * compiles * Update silicon_mob.dm * compile
57 lines
1.7 KiB
Plaintext
57 lines
1.7 KiB
Plaintext
/datum/disease/brainrot
|
|
name = "Brainrot"
|
|
max_stages = 4
|
|
spread_text = "On contact"
|
|
spread_flags = SPREAD_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 = VIRUS_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_DANGER("You don't feel like yourself."))
|
|
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_DANGER("Your try to remember something important...but can't."))
|
|
|
|
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_DANGER("Strange buzzing fills your head, removing all thoughts."))
|
|
if(prob(3))
|
|
to_chat(affected_mob, SPAN_DANGER("You lose consciousness..."))
|
|
affected_mob.visible_message(SPAN_WARNING("[affected_mob] suddenly collapses"))
|
|
affected_mob.Paralyse(rand(10 SECONDS, 20 SECONDS))
|
|
if(prob(1))
|
|
affected_mob.emote("snore")
|
|
if(prob(15))
|
|
affected_mob.AdjustStuttering(6 SECONDS)
|
|
|
|
return
|