f67e9f6d87
* not code stuff * other things * global vars, defines, helpers * onclick hud stuff, orphans, world.dm * controllers and datums * game folder * everything not client/mobs in modules * client folder * stage 1 mob stuff * simple animal things * silicons * carbon things * ayylmaos and monkeys * hyoomahn * icons n shit * sprite fixes * compile fixes * some fixes I cherrypicked. * qdel fixes * forgot brain refractors
45 lines
1.2 KiB
Plaintext
45 lines
1.2 KiB
Plaintext
/datum/disease/rhumba_beat
|
|
name = "The Rhumba Beat"
|
|
max_stages = 5
|
|
spread_text = "On contact"
|
|
spread_flags = CONTACT_GENERAL
|
|
cure_text = "Chick Chicky Boom!"
|
|
cures = list("plasma")
|
|
agent = "Unknown"
|
|
viable_mobtypes = list(/mob/living/carbon/human)
|
|
permeability_mod = 1
|
|
severity = BIOHAZARD
|
|
|
|
/datum/disease/rhumba_beat/stage_act()
|
|
..()
|
|
if(affected_mob.ckey == "rosham")
|
|
src.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
|