mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-06 07:22:15 +00:00
A number of machinery objects were returning STATUS_INTERACTIVE instead of parent. Fixes missing subtype definition for /var/global/datum/topic_state/default/default_state.
20 lines
629 B
Plaintext
20 lines
629 B
Plaintext
/atom/proc/nano_host()
|
|
return src
|
|
|
|
/atom/proc/CanUseTopic(var/mob/user, var/datum/topic_state/state)
|
|
var/src_object = nano_host()
|
|
return state.can_use_topic(src_object, user)
|
|
|
|
/datum/topic_state/proc/href_list(var/mob/user)
|
|
return list()
|
|
|
|
/datum/topic_state/proc/can_use_topic(var/src_object, var/mob/user)
|
|
return STATUS_CLOSE
|
|
|
|
/mob/proc/shared_nano_interaction()
|
|
if (src.stat || !client)
|
|
return STATUS_CLOSE // no updates, close the interface
|
|
else if (restrained() || lying || stat || stunned || weakened)
|
|
return STATUS_UPDATE // update only (orange visibility)
|
|
return STATUS_INTERACTIVE
|