mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-11 16:07:36 +01:00
NTIRC Communicators (#11658)
This commit is contained in:
@@ -102,6 +102,7 @@
|
||||
for(var/obj/item/computer_hardware/CH in src.get_all_components())
|
||||
uninstall_component(null, CH)
|
||||
qdel(CH)
|
||||
listening_objects -= src
|
||||
STOP_PROCESSING(SSprocessing, src)
|
||||
QDEL_NULL(listener)
|
||||
return ..()
|
||||
|
||||
@@ -319,3 +319,11 @@
|
||||
/obj/item/modular_computer/GetID()
|
||||
if(card_slot)
|
||||
return card_slot.stored_card
|
||||
|
||||
/obj/item/modular_computer/hear_talk(mob/M, text, verb, datum/language/speaking)
|
||||
if(Adjacent(M))
|
||||
var/datum/computer_file/program/chat_client/P = hard_drive.find_file_by_name("ntnrc_client")
|
||||
if(!P || (P.program_state == PROGRAM_STATE_KILLED && P.service_state == PROGRAM_STATE_KILLED))
|
||||
return
|
||||
if(P.focused_conv)
|
||||
P.focused_conv.cl_send(P, text, M)
|
||||
Reference in New Issue
Block a user