From 01f1249810ea4db903f83ca1569c551a876c5bef Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Thu, 15 Sep 2022 05:37:50 +0200 Subject: [PATCH] [MIRROR] Examine Blocks Out The Debug Z-Levels Verb [MDB IGNORE] (#16190) * Examine Blocks Out The Debug Z-Levels Verb (#69845) Hey there, It's mostly on the tin. It really looked kinda ugly spitting out the information + the drawing right into chat, so let's wrap it in a nice examine_block to keep it looking good. I added some line breaks because I thought it also aided the formatting. * Examine Blocks Out The Debug Z-Levels Verb Co-authored-by: san7890 --- code/modules/admin/verbs/mapping.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/modules/admin/verbs/mapping.dm b/code/modules/admin/verbs/mapping.dm index 77a22503998..cc64cd38742 100644 --- a/code/modules/admin/verbs/mapping.dm +++ b/code/modules/admin/verbs/mapping.dm @@ -358,7 +358,7 @@ GLOBAL_VAR_INIT(say_disabled, FALSE) var/list/z_list = SSmapping.z_list var/list/messages = list() - messages += "World: [world.maxx] x [world.maxy] x [world.maxz]
" + messages += "World: [world.maxx] x [world.maxy] x [world.maxz]

" var/list/linked_levels = list() var/min_x = INFINITY @@ -402,7 +402,7 @@ GLOBAL_VAR_INIT(say_disabled, FALSE) for(var/datum/space_level/S in linked_levels) grid[S.xi - min_x + 1][S.yi - min_y + 1] = S.z_value - messages += "" + messages += "
" for(var/y in max_y to min_y step -1) var/list/part = list() for(var/x in min_x to max_x) @@ -410,7 +410,7 @@ GLOBAL_VAR_INIT(say_disabled, FALSE) messages += "" messages += "
[part.Join("")]
" - to_chat(src, messages.Join(""), confidential = TRUE) + to_chat(src, examine_block(messages.Join("")), confidential = TRUE) /client/proc/station_food_debug() set name = "Count Station Food"