46 lines
1.4 KiB
Plaintext
46 lines
1.4 KiB
Plaintext
/datum/disease/rhumba_beat
|
|
name = "The Rhumba Beat"
|
|
max_stages = 5
|
|
spread_text = "On contact"
|
|
spread_flags = VIRUS_SPREAD_BLOOD | VIRUS_SPREAD_CONTACT_SKIN | VIRUS_SPREAD_CONTACT_FLUIDS
|
|
cure_text = "Chick Chicky Boom!"
|
|
cures = list("plasma")
|
|
agent = "Unknown"
|
|
viable_mobtypes = list(/mob/living/carbon/human)
|
|
permeability_mod = 1
|
|
severity = VIRUS_SEVERITY_BIOHAZARD
|
|
process_dead = TRUE
|
|
|
|
/datum/disease/rhumba_beat/stage_act()
|
|
..()
|
|
if(affected_mob.ckey == "rosham")
|
|
cure()
|
|
return
|
|
switch(stage)
|
|
if(2)
|
|
if(prob(45))
|
|
affected_mob.adjustToxLoss(5)
|
|
affected_mob.updatehealth()
|
|
if(prob(1))
|
|
to_chat(affected_mob, "<span class='danger'>You feel strange...</span>")
|
|
if(3)
|
|
if(prob(5))
|
|
to_chat(affected_mob, "<span class='danger'>You feel the urge to dance...</span>")
|
|
else if(prob(5))
|
|
affected_mob.emote("gasp")
|
|
else if(prob(10))
|
|
to_chat(affected_mob, "<span class='danger'>You feel the need to chick chicky boom...</span>")
|
|
if(4)
|
|
if(prob(10))
|
|
affected_mob.emote("gasp")
|
|
to_chat(affected_mob, "<span class='danger'>You feel a burning beat inside...</span>")
|
|
if(prob(20))
|
|
affected_mob.adjustToxLoss(5)
|
|
affected_mob.updatehealth()
|
|
if(5)
|
|
to_chat(affected_mob, "<span class='danger'>Your body is unable to contain the Rhumba Beat...</span>")
|
|
if(prob(50))
|
|
affected_mob.gib()
|
|
else
|
|
return
|