mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 21:48:21 +01:00
unit->game tests, /tg/ assertions and allocations (#27646)
* unit->game tests, /tg/ assertions and allocations * whoopsies * fix lint
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user