Adds an admin verb to debug the current map datum.

Useful for making sure it loaded right.
This commit is contained in:
Leshana
2017-05-21 12:36:34 -04:00
parent 8a2f69d439
commit ecd19ee1af
3 changed files with 15 additions and 0 deletions

View File

@@ -176,6 +176,7 @@ var/list/admin_verbs_debug = list(
/client/proc/debug_controller,
/client/proc/debug_antagonist_template,
/client/proc/cmd_debug_mob_lists,
/client/proc/cmd_debug_using_map,
/client/proc/cmd_admin_delete,
/client/proc/cmd_debug_del_all,
/client/proc/cmd_debug_tog_aliens,
@@ -286,6 +287,7 @@ var/list/admin_verbs_hideable = list(
/client/proc/debug_controller,
/client/proc/startSinglo,
/client/proc/cmd_debug_mob_lists,
/client/proc/cmd_debug_using_map,
/client/proc/cmd_debug_del_all,
/client/proc/cmd_debug_tog_aliens,
/client/proc/air_report,

View File

@@ -943,6 +943,15 @@
if("Clients")
usr << jointext(clients,",")
/client/proc/cmd_debug_using_map()
set category = "Debug"
set name = "Debug Map Datum"
set desc = "Debug the map metadata about the currently compiled in map."
if(!check_rights(R_DEBUG))
return
debug_variables(using_map)
// DNA2 - Admin Hax
/client/proc/cmd_admin_toggle_block(var/mob/M,var/block)
if(!ticker)

View File

@@ -0,0 +1,4 @@
author: Leshana
delete-after: True
changes:
- rscadd: "Added an admin verb to debug the map datum."