mirror of
https://github.com/Yawn-Wider/YWPolarisVore.git
synced 2026-08-30 16:38:49 +01:00
* Update settings * Whitespace changes * Comment out merger hooks in gitattributes Corrupt maps would have to be resolved in repo before hooks could be updated * Revert "Whitespace changes" This reverts commit afbdd1d8442973f5d570c30920d9d865b5acd479. * Whitespace again minus example * Gitignore example changelog * Restore changelog merge setting * Keep older dmi hook attribute until hooks can be updated * update vscode settings too * Renormalize remaining * Revert "Gitignore example changelog" This reverts commit de22ad375d3ee4d5930c550da2fd23a29a86e616. * Attempt to normalize example.yml (and another file I guess) * Try again
33 lines
1021 B
Plaintext
33 lines
1021 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/weapon/circuitboard/communications
|
|
|
|
var/datum/tgui_module/communications/communications
|
|
|
|
/obj/machinery/computer/communications/Initialize()
|
|
. = ..()
|
|
communications = new(src)
|
|
|
|
/obj/machinery/computer/communications/emag_act(var/remaining_charges, var/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)
|