[MIRROR] Stabilized gold extracts can now summon basicmobs [MDB IGNORE] (#19917)

* Stabilized gold extracts can now summon basicmobs (#74020)

## About The Pull Request

Stabilized gold extracts can now summon basicmobs,
Also, summoned familiars become friendly to the owner, which stops stuff
like mice running away.

## Why It's Good For The Game

They can now make cool basicmob carp and stuff
Fixes #74008

## Changelog

🆑
fix: Stabilized gold extracts can now spawn basicmobs
/🆑

* Stabilized gold extracts can now summon basicmobs

---------

Co-authored-by: jimmyl <70376633+mc-oofert@users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-03-18 11:20:32 +01:00
committed by GitHub
parent 5cf9b048a5
commit 087c4de227
3 changed files with 18 additions and 10 deletions
+6 -4
View File
@@ -2,7 +2,9 @@
/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)
for(var/mob/living/simple_animal/animal as anything in subtypesof(/mob/living/simple_animal))
if (initial(animal.gold_core_spawnable))
allocate(animal)
for(var/mob/living/basic/basic_animal as anything in subtypesof(/mob/living/basic))
if (initial(basic_animal.gold_core_spawnable))
allocate(basic_animal)