From aea7875fd01d6e1641d4eef24301c908af5a3b95 Mon Sep 17 00:00:00 2001 From: Tom <8881105+tf-4@users.noreply.github.com> Date: Thu, 2 Dec 2021 21:47:07 +0000 Subject: [PATCH] Gives blind people a chat message when someone tries to handcuff them (#63192) Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com> --- code/game/objects/items/handcuffs.dm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/code/game/objects/items/handcuffs.dm b/code/game/objects/items/handcuffs.dm index f7758535bdf..bb8d686d1bb 100644 --- a/code/game/objects/items/handcuffs.dm +++ b/code/game/objects/items/handcuffs.dm @@ -59,9 +59,10 @@ if(!C.handcuffed) if(C.canBeHandcuffed()) - C.visible_message(span_danger("[user] is trying to put [src.name] on [C]!"), \ - span_userdanger("[user] is trying to put [src.name] on you!")) - + C.visible_message(span_danger("[user] is trying to put [name] on [C]!"), \ + span_userdanger("[user] is trying to put [name] on you!")) + if(C.is_blind()) + to_chat(C, span_userdanger("You feel someone grab your wrists, the cold metal of [name] starting to dig into your skin!")) playsound(loc, cuffsound, 30, TRUE, -2) log_combat(user, C, "attempted to handcuff") if(do_mob(user, C, 30, timed_action_flags = IGNORE_SLOWDOWNS) && C.canBeHandcuffed())