Files
kiwistation/code/modules/nano/states/self.dm
T
Bjorn Neergaard a97f22c2bb TK allows you to use NanoUI at a distance ❄️
❄️
2015-11-28 20:43:41 -06:00

13 lines
337 B
Plaintext

/**
* NanoUI State: self_state
*
* Only checks that the user and src_object are the same.
**/
/var/global/datum/topic_state/self_state/self_state = new()
/datum/topic_state/self_state/can_use_topic(atom/movable/src_object, mob/user)
if (src_object != user)
return NANO_CLOSE
return user.shared_nano_interaction(src_object)