Allow silicons to shift-click to examine (#4772)

* Allow silicons to shift-click to examine

* Allow borgs to shift-click too

* Fuck this
This commit is contained in:
monster860
2016-06-26 13:57:04 -04:00
committed by Fox McCloud
parent 6333daedb4
commit 802f73519e
2 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -131,7 +131,9 @@
Topic(src, list("src"= "\ref[src]", "command"="emergency", "activate" = "0"), 1)
return
/atom/proc/AIShiftClick()
/atom/proc/AIShiftClick(var/mob/user)
if(user.client)
user.examinate(src)
return
/obj/machinery/door/airlock/AIShiftClick() // Opens and closes doors!
+3 -1
View File
@@ -139,7 +139,9 @@
/obj/machinery/door/airlock/BorgAltShiftClick() // Enables emergency override on doors! Forwards to AI code.
AIAltShiftClick()
/atom/proc/BorgShiftClick()
/atom/proc/BorgShiftClick(var/mob/user)
if(user.client && user.client.eye == user)
user.examinate(src)
return
/obj/machinery/door/airlock/BorgShiftClick() // Opens and closes doors! Forwards to AI code.