Allow mobs to ventcrawl with their mobid

Also lets drones vent with their emissive blockers
This commit is contained in:
VerySoft
2022-04-05 22:06:24 -04:00
parent 062a7437c6
commit d191eb73af
3 changed files with 8 additions and 3 deletions
@@ -40,7 +40,8 @@ var/list/mob_hat_cache = list()
can_pull_size = ITEMSIZE_NO_CONTAINER
can_pull_mobs = MOB_PULL_SMALLER
can_enter_vent_with = list(
/obj)
/obj,
/atom/movable/emissive_blocker)
mob_bump_flag = SIMPLE_ANIMAL
mob_swap_flags = SIMPLE_ANIMAL
@@ -23,7 +23,8 @@
can_pull_size = ITEMSIZE_NO_CONTAINER
can_pull_mobs = MOB_PULL_SMALLER
can_enter_vent_with = list(
/obj)
/obj,
/atom/movable/emissive_blocker)
mob_always_swap = 1
+4 -1
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)