[MIRROR] Refactors Regenerate Organs, and a few organ helpers [MDB IGNORE] (#20094)

* Refactors Regenerate Organs, and a few organ helpers

* MERGE CONFLICTS

* GETORGANSLOT > GET_ORGAN_SLOT

* GETORGAN > get_organ_by_type

* lint repairs

* more lint

* Update tgstation.dme

* Update surgery_step.dm

---------

Co-authored-by: Zephyr <12817816+ZephyrTFA@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-04-01 02:51:06 +01:00
committed by GitHub
co-authored by Zephyr Gandalf
parent 3c4c1ade1e
commit 3464b6bfb2
267 changed files with 935 additions and 830 deletions
+1 -1
View File
@@ -95,7 +95,7 @@
newamt = L.getOxyLoss()
if("brain")
L.adjustOrganLoss(ORGAN_SLOT_BRAIN, amount)
newamt = L.getOrganLoss(ORGAN_SLOT_BRAIN)
newamt = L.get_organ_loss(ORGAN_SLOT_BRAIN)
if("clone")
L.adjustCloneLoss(amount, forced = TRUE)
newamt = L.getCloneLoss()