mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +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
|
listed = TRUE
|
||||||
break
|
break
|
||||||
|
|
||||||
//Only allow it if it's "IN" the mob, not equipped on/being held
|
//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))
|
if(listed/* && !get_inventory_slot(carried_item)*/)
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
/mob/living/carbon/is_allowed_vent_crawl_item(var/obj/item/carried_item)
|
/mob/living/carbon/is_allowed_vent_crawl_item(var/obj/item/carried_item)
|
||||||
|
|||||||
Reference in New Issue
Block a user