Merge pull request #7767 from Mechoid/VentcrawlTweak

Tweak Ventcrawl To Allow Allowed Items to be Worn
This commit is contained in:
Atermonera
2020-11-26 13:40:37 -05:00
committed by VirgoBot
parent 1939010a23
commit 57424983bf
+2 -2
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)