Prevents limb regeneration when changing species (#19945)

* 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
This commit is contained in:
Luc
2023-01-05 11:52:34 -06:00
committed by GitHub
parent 6491512cbd
commit 4b255c16e4
8 changed files with 61 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()