mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 03:57:48 +01:00
Various Surgery & Medical fixes, QoL, and adjustments (#18718)
* bunch of medical adjustments * or so i thought * De-death surgery * Update carbon.dm * Update mob_grab_specials.dm * yeh * Palpation * internal bleeding * Update life.dm * duration increase * adjust these * Fixes a bug with defibs that I caused When I reworked get_crit_point, it caused defibs to DEAL oxyloss instead of HEALING it, like it has been doing for the past 8 years. This fixes it. * fixcees this * fixes syringe stabbing * Converts these to managed global lists * gets rid of disabilities * Change injury check to use do_after with delay * lungfix * actually remove the necrosis * Fixes brain surgery * fix language bug * Update brain.dm * ghetto surgery adjustments Buffs some ghetto surgery Makes some injuries sustained less gnarly if you fail with a ghetto tool. Some mild typo fixes.
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user