[MIRROR] Allows blind people to touch things to examine them (#231)

* Merge pull request #52727 from MrMelbert/touchyfeely

Allows blind people to touch things to examine them

* Allows blind people to touch things to examine them

Co-authored-by: skoglol <33292112+kriskog@users.noreply.github.com>
This commit is contained in:
SkyratBot
2020-08-07 11:08:02 +02:00
committed by GitHub
co-authored by skoglol
parent db9ded5625
commit b5ce584906
5 changed files with 40 additions and 7 deletions
+2 -1
View File
@@ -190,7 +190,8 @@
if (!Adjacent(user))
return
if (user.a_intent == INTENT_HELP)
user.examinate(src)
if(!user.is_blind())
user.examinate(src)
return
user.visible_message("<span class='danger'>[user] kicks the display case.</span>", null, null, COMBAT_MESSAGE_RANGE)
log_combat(user, src, "kicks")
@@ -33,7 +33,7 @@
/obj/structure/plaque/attack_hand(mob/user)
. = ..()
if(.)
if(. || user.is_blind())
return
user.examinate(src)
+1 -1
View File
@@ -49,7 +49,7 @@
/obj/structure/sign/attack_hand(mob/user)
. = ..()
if(.)
if(. || user.is_blind())
return
user.examinate(src)