mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-20 12:29:23 +01:00
A few medical fixes. (#22022)
- Pneumalin no longer fixes damage on robotic lungs. - Fixed augments not processing. This means that HUD augments are fixed as well. - Fixed health analyzers displaying damage between 0 and 1 as 'none'. Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
@@ -1615,13 +1615,13 @@
|
||||
|
||||
/singleton/reagent/pneumalin/affect_breathe(var/mob/living/carbon/human/H, var/alien, var/removed, var/datum/reagents/holder)
|
||||
H.adjustOxyLoss(removed) //Every unit heals 1 oxy damage
|
||||
H.add_chemical_effect(CE_PNEUMOTOXIC, -removed * 1.5)
|
||||
H.remove_chemical_effect(CE_PNEUMOTOXIC, removed * 1.5)
|
||||
H.add_chemical_effect(CE_PULSE, -1)
|
||||
|
||||
var/obj/item/organ/internal/lungs/L = H.internal_organs_by_name[BP_LUNGS]
|
||||
if(istype(L) && !BP_IS_ROBOTIC(L))
|
||||
L.rescued = FALSE
|
||||
L.damage = max(L.damage - (removed * 1.5), 0)
|
||||
L.heal_damage(removed * 1.5)
|
||||
|
||||
. = ..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user