Skip to content

Commit

Permalink
basic enough?
Browse files Browse the repository at this point in the history
  • Loading branch information
FalloutFalcon committed Dec 18, 2023
1 parent 8bf1fbb commit 60ddaaf
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions code/modules/unit_tests/hivelord_count.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/datum/unit_test/count_mob_spawn_items/Run()
var/int total_items_created = 0

for (var/i in 1 to 100)
var/obj/effect/mob_spawn/human/corpse/damaged/legioninfested/SpawnEffect = new /obj/effect/mob_spawn/human/corpse/damaged/legioninfested
SpawnEffect.Initialize()

for (var/obj/item/I in SpawnEffect.loc.get_contents())
total_items_created += 1

world.log << "Total items created from mob_spawn: [total_items_created]"

0 comments on commit 60ddaaf

Please sign in to comment.