Can now apply handcuffs to oneself.

This commit is contained in:
LorenLuke
2017-04-24 15:43:07 -07:00
parent 5f9bdc5748
commit 3c4ff5e0bb
2 changed files with 39 additions and 2 deletions

View File

@@ -41,9 +41,10 @@
user << "<span class='danger'>You need to have a firm grip on [C] before you can put \the [src] on!</span>"
/obj/item/weapon/handcuffs/proc/can_place(var/mob/target, var/mob/user)
if(user == target)
return 1
if(istype(user, /mob/living/silicon/robot))
if(user.Adjacent(target))
return 1
return 1
else
for(var/obj/item/weapon/grab/G in target.grabbed_by)
if(G.loc == user && G.state >= GRAB_AGGRESSIVE)