diff --git a/code/modules/clothing/shoes/colour.dm b/code/modules/clothing/shoes/colour.dm index 55d0591a37..e20bea4cc7 100644 --- a/code/modules/clothing/shoes/colour.dm +++ b/code/modules/clothing/shoes/colour.dm @@ -86,29 +86,32 @@ item_color = "orange" var/obj/item/weapon/handcuffs/chained = null -/obj/item/clothing/shoes/orange/proc/attach_cuffs(var/obj/item/weapon/handcuffs/cuffs) +/obj/item/clothing/shoes/orange/proc/attach_cuffs(var/obj/item/weapon/handcuffs/cuffs, mob/user as mob) if (src.chained) return + user.drop_item() cuffs.loc = src src.chained = cuffs src.slowdown = 15 src.icon_state = "orange1" -/obj/item/clothing/shoes/orange/proc/remove_cuffs() +/obj/item/clothing/shoes/orange/proc/remove_cuffs(mob/user as mob) if (!src.chained) return - src.chained.loc = get_turf(src) + user.put_in_hands(src.chained) + src.chained.add_fingerprint(user) + src.slowdown = initial(slowdown) src.icon_state = "orange" src.chained = null /obj/item/clothing/shoes/orange/attack_self(mob/user as mob) ..() - remove_cuffs() + remove_cuffs(user) /obj/item/clothing/shoes/orange/attackby(H as obj, mob/user as mob) ..() if (istype(H, /obj/item/weapon/handcuffs)) - attach_cuffs(H) + attach_cuffs(H, user)