Files
CHOMPStation2/code/datums/diseases/robotic_transformation.dm
mport2004@gmail.com ed93b992c4 H/E pipes once again do H/E things
Missed a line on the flashes, they will once again stun cyborgs
Few adminverbs changed by request of the heads
Roburgers will only provide 2 nanites down from 10
The random round spawn code now checks jobbans
Players with a Cyborg jobban cannot become a cyborg normally

Re added the old power armor typepaths as there seem to be a few of them in the .dmm and the thing's autocorrect/remove items seems to just fuck up the rest of the map when used.  I have no idea where they are located and don't like leaving errors in the code, so if someone could remove them and the old typepaths it would be great.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2024 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-19 06:11:28 +00:00

65 lines
2.0 KiB
Plaintext

//Nanomachines!
/datum/disease/robotic_transformation
name = "Robotic Transformation"
max_stages = 5
spread = "Syringe"
spread_type = SPECIAL
cure = "An injection of copper."
cure_id = list("copper")
cure_chance = 5
agent = "R2D2 Nanomachines"
affected_species = list("Human")
desc = "This disease, actually acute nanomachine infection, converts the victim into a cyborg."
severity = "Major"
var/gibbed = 0
/datum/disease/robotic_transformation/stage_act()
..()
switch(stage)
if(2)
if (prob(8))
affected_mob << "Your joints feel stiff."
affected_mob.take_organ_damage(1)
if (prob(9))
affected_mob << "\red Beep...boop.."
if (prob(9))
affected_mob << "\red Bop...beeep..."
if(3)
if (prob(8))
affected_mob << "\red Your joints feel very stiff."
affected_mob.take_organ_damage(1)
if (prob(8))
affected_mob.say(pick("Beep, boop", "beep, beep!", "Boop...bop"))
if (prob(10))
affected_mob << "Your skin feels loose."
affected_mob.take_organ_damage(5)
if (prob(4))
affected_mob << "\red You feel a stabbing pain in your head."
affected_mob.paralysis += 2
if (prob(4))
affected_mob << "\red You can feel something move...inside."
if(4)
if (prob(10))
affected_mob << "\red Your skin feels very loose."
affected_mob.take_organ_damage(8)
if (prob(20))
affected_mob.say(pick("beep, beep!", "Boop bop boop beep.", "kkkiiiill mmme", "I wwwaaannntt tttoo dddiiieeee..."))
if (prob(8))
affected_mob << "\red You can feel... something...inside you."
if(5)
affected_mob <<"\red Your skin feels as if it's about to burst off..."
affected_mob.toxloss += 10
affected_mob.updatehealth()
if(prob(40)) //So everyone can feel like robot Seth Brundle
ASSERT(src.gibbed == 0)
var/turf/T = find_loc(affected_mob)
gibs(T)
src.cure(0)
gibbed = 1
if(!jobban_isbanned(src, "Cyborg"))
affected_mob:Robotize()
else
affected_mob.death(1)