fa184f5487
a disease may now have more than one spread type added "infectivity" variable which replaces a prob(65), defaults to 65 affected_species is now viable_mobtypes, and lists typepaths, this is due to us actually having a species system now so it's confusing adds defines for a bunch of stuff
33 lines
844 B
Plaintext
33 lines
844 B
Plaintext
/datum/disease/fake_gbs
|
|
name = "GBS"
|
|
max_stages = 5
|
|
spread_text = "On contact"
|
|
spread_flags = CONTACT_GENERAL
|
|
cure_text = "Synaptizine & Sulfur"
|
|
cures = list("synaptizine","sulfur")
|
|
agent = "Gravitokinetic Bipotential SADS-"
|
|
viable_mobtypes = list(/mob/living/carbon/human,/mob/living/carbon/monkey)
|
|
desc = "If left untreated death will occur."
|
|
severity = BIOHAZARD
|
|
|
|
/datum/disease/fake_gbs/stage_act()
|
|
..()
|
|
switch(stage)
|
|
if(2)
|
|
if(prob(1))
|
|
affected_mob.emote("sneeze")
|
|
if(3)
|
|
if(prob(5))
|
|
affected_mob.emote("cough")
|
|
else if(prob(5))
|
|
affected_mob.emote("gasp")
|
|
if(prob(10))
|
|
affected_mob << "<span class='danger'>You're starting to feel very weak...</span>"
|
|
if(4)
|
|
if(prob(10))
|
|
affected_mob.emote("cough")
|
|
|
|
if(5)
|
|
if(prob(10))
|
|
affected_mob.emote("cough")
|