mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 04:57:57 +01:00
Merge pull request #23221 from Cyberboss/patch-19
Makes testing << to world as well
This commit is contained in:
@@ -8,10 +8,11 @@
|
||||
/proc/notice(msg)
|
||||
world.log << "## NOTICE: [msg]"
|
||||
|
||||
//print a testing-mode debug message to world.log
|
||||
/proc/testing(msg)
|
||||
//print a testing-mode debug message to world.log and world
|
||||
#ifdef TESTING
|
||||
world.log << "## TESTING: [msg]"
|
||||
#define testing(msg) world.log << "## TESTING: [msg]"; world << "## TESTING: [msg]"
|
||||
#else
|
||||
#define testing(msg)
|
||||
#endif
|
||||
|
||||
/proc/log_admin(text)
|
||||
|
||||
@@ -710,7 +710,6 @@ var/list/admin_verbs_hideable = list(
|
||||
var/list/candidates
|
||||
var/turf/open/floor/tile
|
||||
var/j,k
|
||||
var/mob/living/carbon/human/mob
|
||||
|
||||
for (var/i = 1 to amount)
|
||||
j = 100
|
||||
@@ -730,9 +729,8 @@ var/list/admin_verbs_hideable = list(
|
||||
while ((!tile || !istype(tile)) && --k > 0)
|
||||
|
||||
if (tile)
|
||||
mob = new/mob/living/carbon/human/interactive(tile)
|
||||
|
||||
testing("Spawned test mob with name \"[mob.name]\" at [tile.x],[tile.y],[tile.z]")
|
||||
new/mob/living/carbon/human/interactive(tile)
|
||||
testing("Spawned test mob at [tile.x],[tile.y],[tile.z]")
|
||||
while (!area && --j > 0)
|
||||
|
||||
/client/proc/toggle_AI_interact()
|
||||
|
||||
Reference in New Issue
Block a user