mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 08:37:43 +01:00
[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:
@@ -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)
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
|
||||
/obj/structure/sign/attack_hand(mob/user)
|
||||
. = ..()
|
||||
if(.)
|
||||
if(. || user.is_blind())
|
||||
return
|
||||
user.examinate(src)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user