[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
@@ -216,7 +216,7 @@
for(var/obj/item/item in human_target.get_equipped_items(delete_pocket))
qdel(item)
var/obj/item/organ/internal/brain/human_brain = human_target.getorganslot(BRAIN)
var/obj/item/organ/internal/brain/human_brain = human_target.get_organ_slot(BRAIN)
human_brain.destroy_all_skillchips() // get rid of skillchips to prevent runtimes
if(dresscode != "Naked")