Files
Paradise/code/modules/nano/interaction/self.dm
AffectedArc07 210f8badf4 Makes all global variables handled by the GLOB controller (#13152)
* 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
2020-03-20 21:56:37 -06:00

10 lines
297 B
Plaintext

/*
This state checks that the src_object is the same the as user
*/
GLOBAL_DATUM_INIT(self_state, /datum/topic_state/self_state, new())
/datum/topic_state/self_state/can_use_topic(var/src_object, var/mob/user)
if(src_object != user)
return STATUS_CLOSE
return user.shared_nano_interaction()