From 7ca0f57c7d619251851d959a3feeacb7133886a6 Mon Sep 17 00:00:00 2001 From: Spock Date: Sun, 11 Feb 2024 10:02:21 -0800 Subject: [PATCH] Adds a new helper proc that returns the number of mobs in each z-level (#5033) --- code/__HELPERS/unsorted.dm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/code/__HELPERS/unsorted.dm b/code/__HELPERS/unsorted.dm index 3ab5259d7b8..e3a82be0afd 100644 --- a/code/__HELPERS/unsorted.dm +++ b/code/__HELPERS/unsorted.dm @@ -147,6 +147,12 @@ Turf and target are seperate in case you want to teleport some distance from a t return destination +/proc/ennumeratemobs() + var/i + var/mobnum + for(i=1, i