[MIRROR] Allow printing whitelisted bodies, but resleeve lock them by force (#9011)

Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
Co-authored-by: Kashargul <KashL@t-online.de>
This commit is contained in:
CHOMPStation2
2024-10-01 13:39:18 -07:00
committed by GitHub
parent af2de93a8f
commit ebd7d7b18e
20 changed files with 161 additions and 63 deletions

View File

@@ -29,6 +29,14 @@
to_chat(usr,"<span class='danger'>The target's mind is too complex to be affected!</span>")
return
/* CHOMPRemove Start, we have a vore pref for that
if(ishuman(M))
var/mob/living/carbon/human/H = M
if(H.resleeve_lock && usr.ckey != H.resleeve_lock)
to_chat(src, span_danger("[H] cannot be impersonated!"))
return
*///CHOMPRemove End
if(M.stat == DEAD) //Are they dead?
to_chat(usr,"<span class='warning'>A warning pops up on the device, informing you that [M] is dead, and, as such, the mind transfer can not be done.</span>")
return