Re-fixes limb regeneration, now with 100% fewer brain deletions (I hope) (#20157)

* Prevents clings from quick regenerating bodyparts

* Clarify a comment

* Reworks to work with monkeys and other sources as well

* qdel organ if it doesn't get inserted

* Use initial instead of creating and qdeling

* Revert unnecessary cast

* Ensure organs are inserted as they were before

* fix some warnings

* here be dragons
This commit is contained in:
Luc
2023-02-15 21:16:00 +01:00
committed by GitHub
parent 7e7b1082b4
commit b0776d35ef
8 changed files with 64 additions and 21 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
/mob/living/carbon/human/proc/monkeyize()
var/mob/H = src
H.dna.SetSEState(GLOB.monkeyblock,1)
H.dna.SetSEState(GLOB.monkeyblock, 1)
singlemutcheck(H, GLOB.monkeyblock, MUTCHK_FORCED)
/mob/new_player/AIize()