From 5fbc920d1a06492271ccb0d9971696673fb574bc Mon Sep 17 00:00:00 2001 From: Selis <12716288+ItsSelis@users.noreply.github.com> Date: Sun, 23 Feb 2025 17:34:25 +0100 Subject: [PATCH] Disables the default logging of some testing procs (#17190) --- code/modules/overmap/sectors.dm | 2 ++ code/modules/random_map/automata/caves.dm | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/code/modules/overmap/sectors.dm b/code/modules/overmap/sectors.dm index 327cca74ad..e8f4ad7965 100644 --- a/code/modules/overmap/sectors.dm +++ b/code/modules/overmap/sectors.dm @@ -68,7 +68,9 @@ if(!docking_codes) docking_codes = "[ascii2text(rand(65,90))][ascii2text(rand(65,90))][ascii2text(rand(65,90))][ascii2text(rand(65,90))]" + #ifdef TESTING testing("Located sector \"[name]\" at [start_x],[start_y], containing Z [english_list(map_z)]") + #endif LAZYADD(SSshuttles.sectors_to_initialize, src) //Queued for further init. Will populate the waypoint lists; waypoints not spawned yet will be added in as they spawn. SSshuttles.process_init_queues() diff --git a/code/modules/random_map/automata/caves.dm b/code/modules/random_map/automata/caves.dm index 9783c77541..6fb4d8bcb8 100644 --- a/code/modules/random_map/automata/caves.dm +++ b/code/modules/random_map/automata/caves.dm @@ -27,7 +27,9 @@ if (CELL_ALIVE(map[tmp_cell])) ore_turfs += tmp_cell + #ifdef TESTING testing("ASGEN: Found [ore_turfs.len] ore turfs.") + #endif var/ore_count = round(map.len/20) var/door_count = 0 var/empty_count = 0 @@ -46,8 +48,10 @@ empty_count += 1 ore_count-- + #ifdef TESTING testing("ASGEN: Set [door_count] turfs to random minerals.") testing("ASGEN: Set [empty_count] turfs to high-chance random minerals.") + #endif return 1 /datum/random_map/automata/cave_system/apply_to_turf(var/x,var/y)