mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13.git
synced 2026-07-11 17:32:22 +01:00
9 lines
376 B
Plaintext
9 lines
376 B
Plaintext
///Unit test that spawns all mobs that can be spawned by golden slimes
|
|
/datum/unit_test/spawn_mobs
|
|
|
|
/datum/unit_test/spawn_mobs/Run()
|
|
for(var/_animal in typesof(/mob/living/simple_animal))
|
|
var/mob/living/simple_animal/animal = _animal
|
|
if (initial(animal.gold_core_spawnable) == HOSTILE_SPAWN || initial(animal.gold_core_spawnable) == FRIENDLY_SPAWN)
|
|
allocate(_animal)
|