Merge pull request #12663 from Very-Soft/ventcrawls

Allow mobs to ventcrawl with their mobid
This commit is contained in:
Casey
2022-04-05 22:14:52 -04:00
committed by CHOMPStation2
parent 0dd44e94bf
commit a3d4539391
3 changed files with 8 additions and 3 deletions

View File

@@ -57,7 +57,10 @@ var/list/ventcrawl_machinery = list(
//Ability master easy test for allowed (cheaper than istype)
if(carried_item == ability_master)
return 1
if(isanimal(src))
var/mob/living/simple_mob/S
if(carried_item == S.mobcard) //VOREStation Edit
return 1 //VOREStation Edit
//Try to find it in our allowed list (istype includes subtypes)
var/listed = FALSE
for(var/test_type in can_enter_vent_with)