Swizzle some prefs around with the new meaning of resleeve lock

This commit is contained in:
ShadowLarkens
2024-09-18 00:40:10 -07:00
parent e426f47a48
commit 3444395d5e
14 changed files with 49 additions and 14 deletions
@@ -29,6 +29,12 @@
to_chat(usr,"<span class='danger'>The target's mind is too complex to be affected!</span>")
return
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
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