[MIRROR] Fixes spiders spawned from eggs not having a number [MDB IGNORE] (#11064)

* Fixes spiders spawned from eggs not having a number (#64452)

When spiders are spawned, they're given a random name, however the mob
spawner name setter overwrites that... fixed that by randomizing the
name inside of the mob spawn `create` proc. Also gaves spiders an
`\improper` to stop `An a spider`

* Fixes spiders spawned from eggs not having a number

Co-authored-by: Seth Scherer <supernovaa41@gmx.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-01-29 14:59:09 +01:00
committed by GitHub
parent 4b889cc80b
commit c1aaada384
@@ -34,7 +34,7 @@
/obj/effect/mob_spawn/ghost_role/spider
name = "egg cluster"
desc = "They seem to pulse slightly with an inner life."
mob_name = "a spider"
mob_name = "\improper spider"
icon = 'icons/effects/effects.dmi'
icon_state = "eggs"
move_resist = MOVE_FORCE_NORMAL
@@ -168,4 +168,5 @@
if(QDELETED(src) || QDELETED(user) || !chosen_spider)
return FALSE
mob_type = chosen_spider
mob_name = "[mob_name] ([rand(1, 1000)])"
return ..()