Skip to content

Commit

Permalink
Fixes cloning pod atmosphere related issues. (#37324)
Browse files Browse the repository at this point in the history
* Fixes plasmaman cloning issues

* edge case safety measure
  • Loading branch information
Dacendeth authored Nov 25, 2024
1 parent 9da1d99 commit 59fd233
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/modules/medical/cloning.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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!!!
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 59fd233

Please sign in to comment.