mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Adds an admin verb to debug the current map datum.
Useful for making sure it loaded right.
This commit is contained in:
@@ -176,6 +176,7 @@ var/list/admin_verbs_debug = list(
|
|||||||
/client/proc/debug_controller,
|
/client/proc/debug_controller,
|
||||||
/client/proc/debug_antagonist_template,
|
/client/proc/debug_antagonist_template,
|
||||||
/client/proc/cmd_debug_mob_lists,
|
/client/proc/cmd_debug_mob_lists,
|
||||||
|
/client/proc/cmd_debug_using_map,
|
||||||
/client/proc/cmd_admin_delete,
|
/client/proc/cmd_admin_delete,
|
||||||
/client/proc/cmd_debug_del_all,
|
/client/proc/cmd_debug_del_all,
|
||||||
/client/proc/cmd_debug_tog_aliens,
|
/client/proc/cmd_debug_tog_aliens,
|
||||||
@@ -286,6 +287,7 @@ var/list/admin_verbs_hideable = list(
|
|||||||
/client/proc/debug_controller,
|
/client/proc/debug_controller,
|
||||||
/client/proc/startSinglo,
|
/client/proc/startSinglo,
|
||||||
/client/proc/cmd_debug_mob_lists,
|
/client/proc/cmd_debug_mob_lists,
|
||||||
|
/client/proc/cmd_debug_using_map,
|
||||||
/client/proc/cmd_debug_del_all,
|
/client/proc/cmd_debug_del_all,
|
||||||
/client/proc/cmd_debug_tog_aliens,
|
/client/proc/cmd_debug_tog_aliens,
|
||||||
/client/proc/air_report,
|
/client/proc/air_report,
|
||||||
|
|||||||
@@ -943,6 +943,15 @@
|
|||||||
if("Clients")
|
if("Clients")
|
||||||
usr << jointext(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
|
// DNA2 - Admin Hax
|
||||||
/client/proc/cmd_admin_toggle_block(var/mob/M,var/block)
|
/client/proc/cmd_admin_toggle_block(var/mob/M,var/block)
|
||||||
if(!ticker)
|
if(!ticker)
|
||||||
|
|||||||
4
html/changelogs/Leshana-mapz.yml
Normal file
4
html/changelogs/Leshana-mapz.yml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
author: Leshana
|
||||||
|
delete-after: True
|
||||||
|
changes:
|
||||||
|
- rscadd: "Added an admin verb to debug the map datum."
|
||||||
Reference in New Issue
Block a user