Files
Yogstation/code/datums/diseases/decloning.dm
yogstation13-bot f9ad21cbf1 [MIRROR] Remove reagent ids and use typepaths where applicable (#5612)
* Remove reagent ids and use typepaths where applicable

* Remove reagent ids and use typepaths where applicable

* Resolves some easier conflicts

* Resolves medical_tools.dm

* Resolves robots.dm

* Handles cinnamon

Wow, I cannot do this manually. Fuckin' regex time.

* Removes 27 merge conflicts (!!!!!)

* Makes it actually half-attempt to compile

* I just -- I give up, it's over

* mk

* mk

* mk

* hm

* ok

* what a bloody chain reaction jesus

* ok

* and done

* went threw and changed the ones I missed

* ok

* dangit altoids hurry the fek up

* Fixes whatever I found find thru this regex:

reagents[\s\w]*=[\s\w]*list\([^\/]+\)
2019-06-10 07:26:31 -05:00

59 lines
1.7 KiB
Plaintext

/datum/disease/decloning
form = "Virus"
name = "Cellular Degeneration"
max_stages = 5
stage_prob = 1
cure_text = "Rezadone or death."
agent = "Severe Genetic Damage"
viable_mobtypes = list(/mob/living/carbon/human)
desc = "If left untreated the subject will 'REDACTED'!" // yogsfixed this description cause it was causing issues
severity = "Dangerous!"
cures = list(/datum/reagent/medicine/rezadone)
disease_flags = CAN_CARRY|CAN_RESIST
spread_flags = DISEASE_SPREAD_NON_CONTAGIOUS
process_dead = TRUE
/datum/disease/decloning/stage_act()
..()
if(affected_mob.stat == DEAD)
cure()
return
switch(stage)
if(2)
if(prob(2))
affected_mob.emote("itch")
if(prob(2))
affected_mob.emote("yawn")
if(3)
if(prob(2))
affected_mob.emote("itch")
if(prob(2))
affected_mob.emote("drool")
if(prob(3))
affected_mob.adjustCloneLoss(1)
if(prob(2))
to_chat(affected_mob, "<span class='danger'>Your skin feels strange.</span>")
if(4)
if(prob(2))
affected_mob.emote("itch")
if(prob(2))
affected_mob.emote("drool")
if(prob(5))
affected_mob.adjustBrainLoss(1, 170)
affected_mob.adjustCloneLoss(2)
if(prob(15))
affected_mob.stuttering += 3
if(5)
if(prob(2))
affected_mob.emote("itch")
if(prob(2))
affected_mob.emote("drool")
if(prob(5))
to_chat(affected_mob, "<span class='danger'>Your skin starts degrading!</span>")
if(prob(10))
affected_mob.adjustCloneLoss(5)
affected_mob.adjustBrainLoss(2, 170)
if(affected_mob.cloneloss >= 100)
affected_mob.visible_message("<span class='danger'>[affected_mob] skin turns to dust!</span>", "<span class'boldwarning'>Your skin turns to dust!</span>")
affected_mob.dust()