Makes mobs not spawn with id unless defined so

Makes mob ids only spawn on mobs that should come with them rather than jamming one into every single mouse and cockroach and so on.
This commit is contained in:
Verkister
2022-04-06 15:16:54 +03:00
committed by GitHub
parent 90707d2bf0
commit 1033650c66
@@ -164,15 +164,17 @@
var/limb_icon_key
var/understands_common = TRUE //VOREStation Edit - Makes it so that simplemobs can understand galcomm without being able to speak it.
var/heal_countdown = 5 //VOREStation Edit - A cooldown ticker for passive healing
var/obj/item/weapon/card/id/mobcard = null
var/list/mobcard_access = list()
var/obj/item/weapon/card/id/mobcard = null //VOREStation Edit
var/list/mobcard_access = list() //VOREStation Edit
var/mobcard_provided = FALSE //VOREStation Edit
/mob/living/simple_mob/Initialize()
verbs -= /mob/verb/observe
health = maxHealth
mobcard = new /obj/item/weapon/card/id(src)
mobcard.access = mobcard_access.Copy()
if(mobcard_provided)
mobcard = new /obj/item/weapon/card/id(src)
mobcard.access = mobcard_access.Copy()
for(var/L in has_langs)
languages |= GLOB.all_languages[L]
@@ -311,4 +313,4 @@
D.open()
else
..()
//Vorestation Add End
//Vorestation Add End