Files
Bubberstation/code/datums/diseases/gbs.dm
SkyratBot b5bd312379 [MIRROR] Add investigate_deaths [MDB IGNORE] (#17424)
* Add investigate_deaths

* merge changes other than giant_spider which deps on tg/70848

* gib

* dust

* death

Co-authored-by: tattle <66640614+dragomagol@users.noreply.github.com>
Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com>
Co-authored-by: tastyfish <crazychris32@gmail.com>
2022-11-11 14:44:33 -05:00

35 lines
1.1 KiB
Plaintext

/datum/disease/gbs
name = "GBS"
max_stages = 4
spread_text = "On contact"
spread_flags = DISEASE_SPREAD_BLOOD | DISEASE_SPREAD_CONTACT_SKIN | DISEASE_SPREAD_CONTACT_FLUIDS
cure_text = "Synaptizine & Sulfur"
cures = list(/datum/reagent/medicine/synaptizine,/datum/reagent/sulfur)
cure_chance = 7.5 //higher chance to cure, since two reagents are required
agent = "Gravitokinetic Bipotential SADS+"
viable_mobtypes = list(/mob/living/carbon/human)
disease_flags = CAN_CARRY|CAN_RESIST|CURABLE
spreading_modifier = 1
severity = DISEASE_SEVERITY_BIOHAZARD
/datum/disease/gbs/stage_act(delta_time, times_fired)
. = ..()
if(!.)
return
switch(stage)
if(2)
if(DT_PROB(2.5, delta_time))
affected_mob.emote("cough")
if(3)
if(DT_PROB(2.5, delta_time))
affected_mob.emote("gasp")
if(DT_PROB(5, delta_time))
to_chat(affected_mob, span_danger("Your body hurts all over!"))
if(4)
to_chat(affected_mob, span_userdanger("Your body feels as if it's trying to rip itself apart!"))
if(DT_PROB(30, delta_time))
affected_mob.investigate_log("has been gibbed by GBS.", INVESTIGATE_DEATHS)
affected_mob.gib()
return FALSE