mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-09 16:12:17 +00:00
Merge pull request #9368 from VOREStation/upstream-merge-7767
[MIRROR] Tweak Ventcrawl To Allow Allowed Items to be Worn
This commit is contained in:
committed by
Chompstation Bot
parent
16b4079be0
commit
4ec6e52426
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user