From 59fd2337835ec882511a80dfd01ff2d049013c5c Mon Sep 17 00:00:00 2001 From: Dacendeth Date: Mon, 25 Nov 2024 08:59:53 -0500 Subject: [PATCH] Fixes cloning pod atmosphere related issues. (#37324) * Fixes plasmaman cloning issues * edge case safety measure --- code/modules/medical/cloning.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/medical/cloning.dm b/code/modules/medical/cloning.dm index 410e9da984db..1e26c2a38bc2 100644 --- a/code/modules/medical/cloning.dm +++ b/code/modules/medical/cloning.dm @@ -249,6 +249,7 @@ isslimeperson(H) ? H.adjustToxLoss(75) : H.adjustCloneLoss(150) // 75 for slime people due to their tox_mod of 2 H.adjustBrainLoss(upgraded ? 0 : (heal_level + 50 + rand(10, 30))) // The rand(10, 30) will come out as extra brain damage H.Paralyse(4) + H.nobreath = 15 H.stat = H.status_flags & BUDDHAMODE ? CONSCIOUS : UNCONSCIOUS //There was a bug which allowed you to talk for a few seconds after being cloned, because your stat wasn't updated until next Life() tick. This is a fix for this! //Here let's calculate their health so the pod doesn't immediately eject them!!! @@ -327,6 +328,7 @@ //Also heal some oxyloss ourselves because inaprovaline is so bad at preventing it!! occupant.adjustOxyLoss(-4) + occupant.nobreath = 15 use_power(7500) //This might need tweaking. return