From 8948133efc554ffd9849fb280da7ad98b3404438 Mon Sep 17 00:00:00 2001 From: DeltaFire Date: Fri, 13 Nov 2020 03:25:56 +0100 Subject: [PATCH] rads cause coruption at high levels, very slowly. --- code/modules/mob/living/carbon/life.dm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/living/carbon/life.dm b/code/modules/mob/living/carbon/life.dm index 587d9321e0..576bd526aa 100644 --- a/code/modules/mob/living/carbon/life.dm +++ b/code/modules/mob/living/carbon/life.dm @@ -441,7 +441,10 @@ radiation -= min(radiation, RAD_LOSS_PER_TICK) if(radiation > RAD_MOB_SAFE) - adjustToxLoss(log(radiation-RAD_MOB_SAFE)*RAD_TOX_COEFFICIENT) + if(!HAS_TRAIT(src, TRAIT_ROBOTIC_ORGANISM)) + adjustToxLoss(log(radiation-RAD_MOB_SAFE)*RAD_TOX_COEFFICIENT) + else if(radiation > RAD_MOB_SAFE * 3) + adjustToxLoss(log(radiation-RAD_MOB_SAFE*3)*RAD_TOX_COEFFICIENT*0.2) //Robots are more resistant to rads, but in the end suffer slow corruption at high levels. /mob/living/carbon/handle_stomach() set waitfor = 0