mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-07-20 12:42:43 +01:00
Allows mobs to ventcrawl with any item in their allowed items list, even if it's worn or carried.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user