Refactors some borg inventory code and removes a bunch of unused references to borgs taking oxy/tox damage (#52265)

* Removing a bunch of oxygen stuff

* breaking works

* completely functional yes

* reverts some old changes

* thanks based shiz

* i said 'thanks' god damn it

* oops

* another one bites the dust

* they told me math was of variable difficulty
This commit is contained in:
MrMelbert
2020-07-20 20:39:32 -05:00
committed by GitHub
parent 3c27ef2f65
commit 7c845d0ca0
12 changed files with 378 additions and 246 deletions
@@ -72,11 +72,9 @@
restoring = FALSE
return
ai_slot.locked =TRUE
A.adjustOxyLoss(-5, 0)
A.adjustFireLoss(-5, 0)
A.adjustToxLoss(-5, 0)
A.adjustOxyLoss(-5, 0, FALSE)
A.adjustFireLoss(-5, 0, FALSE)
A.adjustBruteLoss(-5, 0)
A.updatehealth()
if(A.health >= 0 && A.stat == DEAD)
A.revive(full_heal = FALSE, admin_revive = FALSE)
// Finished restoring