unit->game tests, /tg/ assertions and allocations (#27646)

* unit->game tests, /tg/ assertions and allocations

* whoopsies

* fix lint
This commit is contained in:
warriorstar-orion
2024-12-21 21:19:33 +00:00
committed by GitHub
parent 79bad427c8
commit bb60a027bf
53 changed files with 304 additions and 243 deletions
@@ -493,7 +493,7 @@ GLOBAL_LIST_INIT(ventcrawl_machinery, list(/obj/machinery/atmospherics/unary/ven
visible_message("<span class='notice'>[src] begins climbing into the ventilation system...</span>", \
"<span class='notice'>You begin climbing into the ventilation system...</span>")
#ifdef UNIT_TESTS
#ifdef GAME_TESTS
var/ventcrawl_delay = 0 SECONDS
#else
var/ventcrawl_delay = 4.5 SECONDS
@@ -43,7 +43,7 @@
AddComponent(/datum/component/squeak, list('sound/creatures/mousesqueak.ogg' = 1), 100, extrarange = SHORT_RANGE_SOUND_EXTRARANGE) //as quiet as a mouse or whatever
/mob/living/simple_animal/mouse/handle_automated_action()
#ifdef UNIT_TESTS // DO NOT EAT MY CABLES DURING UNIT TESTS
#ifdef GAME_TESTS // DO NOT EAT MY CABLES DURING UNIT TESTS
return
#endif
if(prob(chew_probability) && isturf(loc))