mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-06 15:42:28 +00:00
* Handlers converted, now to fix 3532 compile errors * 3532 compile fixes later, got runtimes on startup * Well the server loads now atleast * Take 2 * Oops
11 lines
374 B
Plaintext
11 lines
374 B
Plaintext
/*
|
|
This state checks if src_object is contained anywhere in the user's inventory, including bags, etc.
|
|
*/
|
|
GLOBAL_DATUM_INIT(deep_inventory_state, /datum/topic_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()
|