Bay12 examine overhaul.

This commit overhauls the examine system to baystation's latest system,
including a more efficient verb approach, and a new status panel tab,
which shows more information for pre-defined objects.
This commit is contained in:
Tigercat2000
2015-09-14 11:51:40 -07:00
parent cfbbf104ac
commit 0603f73232
146 changed files with 1381 additions and 1090 deletions
+2 -2
View File
@@ -117,7 +117,7 @@
/atom/proc/AICtrlShiftClick(var/mob/user) // Examines
if(user.client)
examine()
user.examinate(src)
return
/atom/proc/AIAltShiftClick()
@@ -129,7 +129,7 @@
else
Topic(src, list("src"= "\ref[src]", "command"="emergency", "activate" = "0"), 1)
return
/atom/proc/AIShiftClick()
return
+1 -2
View File
@@ -223,8 +223,7 @@
return
/atom/proc/ShiftClick(var/mob/user)
if(user.client && user.client.eye == user)
examine()
user.face_atom(src)
user.examinate(src)
return
/*
+10 -11
View File
@@ -53,8 +53,8 @@
aiCamera.captureimage(A, usr)
else
src << "<span class='userdanger'>Your camera isn't functional.</span>"
return
return
/*
cyborg restrained() currently does nothing
if(restrained())
@@ -129,19 +129,18 @@
/atom/proc/BorgCtrlShiftClick(var/mob/user) // Examines
if(user.client && user.client.eye == user)
examine()
user.face_atom(src)
user.examinate(src)
return
/atom/proc/BorgAltShiftClick()
return
return
/obj/machinery/door/airlock/BorgAltShiftClick() // Enables emergency override on doors! Forwards to AI code.
AIAltShiftClick()
/atom/proc/BorgShiftClick()
return
return
/obj/machinery/door/airlock/BorgShiftClick() // Opens and closes doors! Forwards to AI code.
AIShiftClick()
@@ -165,8 +164,8 @@
AIAltClick()
/obj/machinery/turretid/BorgAltClick() //turret lethal on/off. Forwards to AI code.
AIAltClick()
AIAltClick()
/*
As with AI, these are not used in click code,
because the code for robots is specific, not generic.
+1 -1
View File
@@ -36,7 +36,7 @@
// We don't need a fucking toggle.
/mob/dead/observer/ShiftClickOn(var/atom/A)
A.examine()
examinate(A)
/atom/proc/attack_ghost(mob/user as mob)
return