[MIRROR] Fixes being able to breathe in space, fixes any lingering biotype related damage issues [MDB IGNORE] (#19206)

* Fixes being able to breathe in space, fixes any lingering biotype related damage issues

* Update damage_procs.dm

* Update damage_procs.dm

---------

Co-authored-by: Bloop <vinylspiders@gmail.com>
Co-authored-by: lessthanthree <83487515+lessthnthree@users.noreply.github.com>
Co-authored-by: lessthnthree <three@lessthanthree.dk>
This commit is contained in:
SkyratBot
2023-02-21 00:42:28 -08:00
committed by GitHub
co-authored by Bloop lessthanthree lessthnthree
parent b0e97f200d
commit ed09da54b9
19 changed files with 129 additions and 69 deletions
+6 -6
View File
@@ -82,25 +82,25 @@
var/newamt
switch(Text)
if("brute")
L.adjustBruteLoss(amount)
L.adjustBruteLoss(amount, forced = TRUE)
newamt = L.getBruteLoss()
if("fire")
L.adjustFireLoss(amount)
L.adjustFireLoss(amount, forced = TRUE)
newamt = L.getFireLoss()
if("toxin")
L.adjustToxLoss(amount)
L.adjustToxLoss(amount, forced = TRUE)
newamt = L.getToxLoss()
if("oxygen")
L.adjustOxyLoss(amount)
L.adjustOxyLoss(amount, forced = TRUE)
newamt = L.getOxyLoss()
if("brain")
L.adjustOrganLoss(ORGAN_SLOT_BRAIN, amount)
newamt = L.getOrganLoss(ORGAN_SLOT_BRAIN)
if("clone")
L.adjustCloneLoss(amount)
L.adjustCloneLoss(amount, forced = TRUE)
newamt = L.getCloneLoss()
if("stamina")
L.adjustStaminaLoss(amount)
L.adjustStaminaLoss(amount, forced = TRUE)
newamt = L.getStaminaLoss()
else
to_chat(usr, "You caused an error. DEBUG: Text:[Text] Mob:[L]", confidential = TRUE)