mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-22 06:26:38 +01:00
11 lines
362 B
Plaintext
11 lines
362 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 UI_CLOSE
|
|
|
|
return user.shared_nano_interaction()
|