Fixes bad simple_mob ID design choices

Replaces mobcard for simple_mobs with something we already have, myid. Fixes alot of misc issues caused by mobcard, it should have never existed.
This commit is contained in:
Sym
2023-04-14 00:07:34 -04:00
parent 7f45fa58c9
commit d0deed2f28
3 changed files with 17 additions and 28 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ var/list/ventcrawl_machinery = list(
return 1
if(isanimal(src))
var/mob/living/simple_mob/S = src
if(carried_item == S.mobcard) //VOREStation Edit
if(carried_item == S.myid) //VOREStation Edit
return 1 //VOREStation Edit
//Try to find it in our allowed list (istype includes subtypes)
var/listed = FALSE