mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-15 00:54:16 +01:00
5926589c16
* removes var/ inside all procs * . * ugh
33 lines
1013 B
Plaintext
33 lines
1013 B
Plaintext
//This file was auto-corrected by findeclaration.exe on 25.5.2012 20:42:31
|
|
|
|
// The communications computer
|
|
/obj/machinery/computer/communications
|
|
name = "command and communications console"
|
|
desc = "Used to command and control the station. Can relay long-range communications."
|
|
icon_keyboard = "tech_key"
|
|
icon_screen = "comm"
|
|
light_color = "#0099ff"
|
|
req_access = list(ACCESS_HEADS)
|
|
circuit = /obj/item/circuitboard/communications
|
|
|
|
var/datum/tgui_module/communications/communications
|
|
|
|
/obj/machinery/computer/communications/Initialize(mapload)
|
|
. = ..()
|
|
communications = new(src)
|
|
|
|
/obj/machinery/computer/communications/emag_act(remaining_charges, mob/user)
|
|
if(!emagged)
|
|
emagged = TRUE
|
|
communications.emagged = TRUE
|
|
to_chat(user, "You scramble the communication routing circuits!")
|
|
return TRUE
|
|
|
|
/obj/machinery/computer/communications/attack_ai(mob/user)
|
|
return attack_hand(user)
|
|
|
|
/obj/machinery/computer/communications/attack_hand(mob/user)
|
|
if(..())
|
|
return
|
|
communications.tgui_interact(user)
|