Merge pull request #9368 from VOREStation/upstream-merge-7767

[MIRROR] Tweak Ventcrawl To Allow Allowed Items to be Worn
This commit is contained in:
Novacat
2020-11-27 18:09:43 -05:00
committed by Chompstation Bot
parent 16b4079be0
commit 4ec6e52426

View File

@@ -64,8 +64,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)