Allows mobs to ventcrawl with any item in their allowed items list, even if it's worn or carried.

This commit is contained in:
Mechoid
2020-11-25 01:47:44 -08:00
parent 31a81e0f10
commit 8b730e3a90
+2 -2
View File
@@ -62,8 +62,8 @@ var/list/ventcrawl_machinery = list(
listed = TRUE
break
//Only allow it if it's "IN" the mob, not equipped on/being held
if(listed && !get_inventory_slot(carried_item))
//Only allow it if it's "IN" the mob, not equipped on/being held. //Disabled, as it's very annoying that, for example, Pun Pun has no way to ventcrawl with his suit if given the verb, since the list of allowed items is ignored for worn items.
if(listed/* && !get_inventory_slot(carried_item)*/)
return 1
/mob/living/carbon/is_allowed_vent_crawl_item(var/obj/item/carried_item)