mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
DEBUGGING TOOL added:
- Host level admin verb added which displays the view ranges for security cameras. Not intended to be used in-game. Intended to help with the checking of camera coverage when mapping. (Already found some areas which need attention) - For everyone who'll cry FEATURE, i asked for permission to code 'features' intended to aid with debugging and bug-fixing. - From now on forgetting security cameras is NO LONGER A 'WHOOPS'-LEVEL EXCUSE! git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1159 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -81,6 +81,7 @@
|
|||||||
src.verbs += /client/proc/Debug2 //debug toggle switch
|
src.verbs += /client/proc/Debug2 //debug toggle switch
|
||||||
src.verbs += /client/proc/fix_next_move
|
src.verbs += /client/proc/fix_next_move
|
||||||
src.verbs += /client/proc/ticklag
|
src.verbs += /client/proc/ticklag
|
||||||
|
src.verbs += /client/proc/camera_view
|
||||||
src.verbs += /proc/givetestverbs
|
src.verbs += /proc/givetestverbs
|
||||||
src.verbs += /obj/admins/proc/spawn_atom
|
src.verbs += /obj/admins/proc/spawn_atom
|
||||||
src.verbs += /obj/admins/proc/toggletintedweldhelmets
|
src.verbs += /obj/admins/proc/toggletintedweldhelmets
|
||||||
|
|||||||
@@ -1,4 +1,14 @@
|
|||||||
|
|
||||||
|
var/camera_range_display_status = 0
|
||||||
|
|
||||||
|
/obj/debugging/camera_range
|
||||||
|
icon = '480x480.dmi'
|
||||||
|
icon_state = "25percent"
|
||||||
|
|
||||||
|
New()
|
||||||
|
src.pixel_x = -224
|
||||||
|
src.pixel_y = -224
|
||||||
|
|
||||||
/client/proc
|
/client/proc
|
||||||
general_report()
|
general_report()
|
||||||
set category = "Debug"
|
set category = "Debug"
|
||||||
@@ -22,6 +32,24 @@
|
|||||||
|
|
||||||
usr << browse(output,"window=generalreport")
|
usr << browse(output,"window=generalreport")
|
||||||
|
|
||||||
|
camera_view()
|
||||||
|
set category = "Debug"
|
||||||
|
set name = "Camera Range Display"
|
||||||
|
|
||||||
|
if(camera_range_display_status)
|
||||||
|
camera_range_display_status = 0
|
||||||
|
else
|
||||||
|
camera_range_display_status = 1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
for(var/obj/debugging/camera_range/C in world)
|
||||||
|
del(C)
|
||||||
|
|
||||||
|
if(camera_range_display_status)
|
||||||
|
for(var/obj/machinery/camera/C in world)
|
||||||
|
new/obj/debugging/camera_range(C.loc)
|
||||||
|
|
||||||
air_report()
|
air_report()
|
||||||
set category = "Debug"
|
set category = "Debug"
|
||||||
set name = "Show Air Report"
|
set name = "Show Air Report"
|
||||||
|
|||||||
BIN
icons/480x480.dmi
Normal file
BIN
icons/480x480.dmi
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.0 KiB |
Reference in New Issue
Block a user