[MIRROR] Various Surgery & Medical fixes, QoL, and adjustments (#11949)

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-11-08 21:23:20 -07:00
committed by GitHub
parent 56b99cc173
commit a6dcc16233
35 changed files with 500 additions and 216 deletions

View File

@@ -395,8 +395,10 @@
return
//set oxyloss so that the patient is just barely in crit, if possible
var/barely_in_crit = H.get_crit_point() - 1
var/barely_in_crit = -(H.get_crit_point() - 1) //Assume get_crit_point will return -50, so we take the inverse of it.
var/adjust_health = barely_in_crit - H.health //need to increase health by this much
if(adjust_health < 0) //We got a negative value. Safety in case of weird fuckery.
adjust_health *= -1
H.adjustOxyLoss(-adjust_health)
if(H.isSynthetic())