mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-09 16:14:13 +00:00
Conflicts: code/ATMOSPHERICS/pipe/pipe_dispenser.dm code/game/machinery/computer/HolodeckControl.dm code/game/machinery/embedded_controller/embedded_controller_base.dm code/modules/mining/money_bag.dm code/modules/mob/living/carbon/carbon.dm code/modules/mob/living/silicon/mommi/mommi.dm code/modules/mob/living/simple_animal/friendly/farm_animals.dm code/modules/research/destructive_analyzer.dm code/modules/research/rdconsole.dm code/modules/research/xenoarchaeology/machinery/analysis_base.dm code/modules/research/xenoarchaeology/machinery/artifact_harvester.dm code/modules/research/xenoarchaeology/tools/ano_device_battery.dm
51 lines
1.4 KiB
Plaintext
51 lines
1.4 KiB
Plaintext
/datum/disease/rhumba_beat
|
|
name = "The Rhumba Beat"
|
|
max_stages = 5
|
|
spread = "On contact"
|
|
spread_type = CONTACT_GENERAL
|
|
cure = "Chick Chicky Boom!"
|
|
cure_id = list("plasma")
|
|
agent = "Unknown"
|
|
affected_species = list("Human")
|
|
permeability_mod = 1
|
|
|
|
/datum/disease/rhumba_beat/stage_act()
|
|
..()
|
|
switch(stage)
|
|
if(1)
|
|
if(affected_mob.ckey == "rosham")
|
|
src.cure()
|
|
if(2)
|
|
if(affected_mob.ckey == "rosham")
|
|
src.cure()
|
|
if(prob(45))
|
|
affected_mob.adjustToxLoss(5)
|
|
affected_mob.updatehealth()
|
|
if(prob(1))
|
|
affected_mob << "<span class='warning'>You feel strange...</span>"
|
|
if(3)
|
|
if(affected_mob.ckey == "rosham")
|
|
src.cure()
|
|
if(prob(5))
|
|
affected_mob << "<span class='warning'>You feel the urge to dance...</span>"
|
|
else if(prob(5))
|
|
affected_mob.emote("gasp")
|
|
else if(prob(10))
|
|
affected_mob << "<span class='warning'>You feel the need to chick chicky boom...</span>"
|
|
if(4)
|
|
if(affected_mob.ckey == "rosham")
|
|
src.cure()
|
|
if(prob(10))
|
|
affected_mob.emote("gasp")
|
|
affected_mob << "<span class='warning'>You feel a burning beat inside...</span>"
|
|
if(prob(20))
|
|
affected_mob.adjustToxLoss(5)
|
|
affected_mob.updatehealth()
|
|
if(5)
|
|
if(affected_mob.ckey == "rosham")
|
|
src.cure()
|
|
affected_mob << "<span class='warning'>Your body is unable to contain the Rhumba Beat...</span>"
|
|
if(prob(50))
|
|
affected_mob.gib()
|
|
else
|
|
return |