mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-24 17:11:22 +00:00
11 lines
366 B
Plaintext
11 lines
366 B
Plaintext
/*
|
|
This state checks if src_object is contained anywhere in the user's inventory, including bags, etc.
|
|
*/
|
|
/var/global/datum/topic_state/deep_inventory_state/deep_inventory_state = new()
|
|
|
|
/datum/topic_state/deep_inventory_state/can_use_topic(var/src_object, var/mob/user)
|
|
if(!user.contains(src_object))
|
|
return STATUS_CLOSE
|
|
|
|
return user.shared_nano_interaction()
|