mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-15 10:04:30 +01:00
[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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user