mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 07:59:01 +01:00
console stuff
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
/datum/computer_file/program/account_db
|
||||
filename = "accdb"
|
||||
filedesc = "Account Database"
|
||||
program_icon_state = "comm"
|
||||
program_icon_state = "command"
|
||||
extended_desc = "Access transaction logs, account data and all kinds of other financial records."
|
||||
requires_ntnet = TRUE
|
||||
available_on_ntnet = FALSE
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
filename = "cardmod"
|
||||
filedesc = "ID Card Modification Program"
|
||||
nanomodule_path = /datum/nano_module/program/card_mod
|
||||
program_icon_state = "id"
|
||||
program_icon_state = "command"
|
||||
extended_desc = "Program for programming employee ID cards to access parts of the station."
|
||||
required_access_run = access_change_ids
|
||||
required_access_download = access_change_ids
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
/datum/computer_file/program/comm
|
||||
filename = "comm"
|
||||
filedesc = "Command and Communications Program"
|
||||
program_icon_state = "comm"
|
||||
program_icon_state = "command"
|
||||
nanomodule_path = /datum/nano_module/program/comm
|
||||
extended_desc = "Used to command and control the station. Can relay long-range communications."
|
||||
required_access_run = access_heads
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
filename = "teleporter"
|
||||
filedesc = "Teleporter Control"
|
||||
extended_desc = "A NanoTrasen command remote teleportation hub controller."
|
||||
program_icon_state = "comm"
|
||||
program_icon_state = "command"
|
||||
color = LIGHT_COLOR_BLUE
|
||||
size = 8
|
||||
requires_ntnet = TRUE
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
filename = "powermonitor"
|
||||
filedesc = "Power Monitoring"
|
||||
nanomodule_path = /datum/nano_module/power_monitor
|
||||
program_icon_state = "power_monitor"
|
||||
program_icon_state = "engi"
|
||||
extended_desc = "This program connects to sensors around the station to provide information about electrical systems"
|
||||
ui_header = "power_norm.gif"
|
||||
required_access_run = access_engine
|
||||
@@ -21,13 +21,13 @@
|
||||
var/datum/nano_module/power_monitor/NMA = NM
|
||||
if(istype(NMA) && NMA.has_alarm())
|
||||
if(!has_alert)
|
||||
program_icon_state = "power_monitor_warn"
|
||||
program_icon_state = "engi_alarm_on"
|
||||
ui_header = "power_warn.gif"
|
||||
update_computer_icon()
|
||||
has_alert = TRUE
|
||||
else
|
||||
if(has_alert)
|
||||
program_icon_state = "power_monitor"
|
||||
program_icon_state = "engi"
|
||||
ui_header = "power_norm.gif"
|
||||
update_computer_icon()
|
||||
has_alert = FALSE
|
||||
@@ -37,7 +37,7 @@
|
||||
filedesc = "Alarm Monitoring"
|
||||
nanomodule_path = /datum/nano_module/alarm_monitor/engineering
|
||||
ui_header = "alarm_green.gif"
|
||||
program_icon_state = "alert-green"
|
||||
program_icon_state = "engi_alarm_off"
|
||||
extended_desc = "This program provides visual interface for station's alarm system."
|
||||
requires_ntnet = TRUE
|
||||
network_destination = "alarm monitoring network"
|
||||
@@ -51,13 +51,13 @@
|
||||
var/datum/nano_module/alarm_monitor/NMA = NM
|
||||
if(istype(NMA) && NMA.has_major_alarms())
|
||||
if(!has_alert)
|
||||
program_icon_state = "alert-red"
|
||||
program_icon_state = "engi_alarm_on"
|
||||
ui_header = "alarm_red.gif"
|
||||
update_computer_icon()
|
||||
has_alert = TRUE
|
||||
else
|
||||
if(has_alert)
|
||||
program_icon_state = "alert-green"
|
||||
program_icon_state = "engi_alarm_off"
|
||||
ui_header = "alarm_green.gif"
|
||||
update_computer_icon()
|
||||
has_alert = FALSE
|
||||
@@ -67,7 +67,7 @@
|
||||
filename = "atmoscontrol"
|
||||
filedesc = "Atmosphere Control"
|
||||
nanomodule_path = /datum/nano_module/atmos_control
|
||||
program_icon_state = "atmos_control"
|
||||
program_icon_state = "engi"
|
||||
extended_desc = "This program allows remote control of air alarms around the station. This program can not be run on tablet computers."
|
||||
required_access_run = access_atmospherics
|
||||
required_access_download = access_ce
|
||||
@@ -82,7 +82,7 @@
|
||||
filename = "rcon"
|
||||
filedesc = "RCON Remote Control"
|
||||
nanomodule_path = /datum/nano_module/rcon
|
||||
program_icon_state = "generic"
|
||||
program_icon_state = "engi"
|
||||
extended_desc = "This program allows remote control of power distribution systems around the station. This program can not be run on tablet computers."
|
||||
required_access_run = access_engine
|
||||
required_access_download = access_ce
|
||||
@@ -98,7 +98,7 @@
|
||||
filename = "lightctrl"
|
||||
filedesc = "Lighting Controller"
|
||||
nanomodule_path = /datum/nano_module/lighting_ctrl
|
||||
program_icon_state = "comm_monitor"
|
||||
program_icon_state = "engi"
|
||||
extended_desc = "This program allows mass-control of the station's lighting systems. This program cannot be run on tablet computers."
|
||||
required_access_run = access_heads
|
||||
required_access_download = access_ce
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
/datum/computer_file/program/game/arcade
|
||||
filename = "arcadec" // File name, as shown in the file browser program.
|
||||
filedesc = "Unknown Game" // User-Friendly name. In this case, we will generate a random name in constructor.
|
||||
program_icon_state = "game" // Icon state of this program's screen.
|
||||
program_icon_state = "generic" // Icon state of this program's screen.
|
||||
extended_desc = "Fun for the whole family! Probably not an AAA title, but at least you can download it on the corporate network.." // A nice description.
|
||||
size = 2 // Size in GQ. Integers only. Smaller sizes should be used for utility/low use programs (like this one), while large sizes are for important programs.
|
||||
requires_ntnet = FALSE // This particular program does not require NTNet network conectivity...
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/datum/computer_file/program/game/sudoku
|
||||
filename = "sudoku" // File name, as shown in the file browser program.
|
||||
filedesc = "Sudoku" // User-Friendly name. In this case, we will generate a random name in constructor.
|
||||
program_icon_state = "sudoku" // Icon state of this program's screen.
|
||||
program_icon_state = "generic" // Icon state of this program's screen.
|
||||
extended_desc = "A game of numbers, logic, and deduction. Popular for centuries to keep the mind sharp." // A nice description.
|
||||
size = 2 // Size in GQ. Integers only. Smaller sizes should be used for utility/low use programs (like this one), while large sizes are for important programs.
|
||||
requires_ntnet = FALSE // This particular program does not require NTNet network conectivity...
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/datum/computer_file/program/atmos
|
||||
filename = "atmos"
|
||||
filedesc = "Atmosphere Sensor"
|
||||
program_icon_state = "generic"
|
||||
program_icon_state = "engi"
|
||||
extended_desc = "This program is for viewing local atmospheric data."
|
||||
size = 2
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/datum/computer_file/program/chat_client
|
||||
filename = "ntnrc_client"
|
||||
filedesc = "Chat Client"
|
||||
program_icon_state = "command"
|
||||
program_icon_state = "generic"
|
||||
extended_desc = "This program allows communication over the NTRC network."
|
||||
size = 2
|
||||
requires_ntnet = TRUE
|
||||
@@ -38,7 +38,7 @@
|
||||
/datum/computer_file/program/chat_client/Topic(href, href_list)
|
||||
if(..())
|
||||
return TRUE
|
||||
|
||||
|
||||
if(href_list["ringtone"])
|
||||
var/newRingtone = href_list["ringtone"]
|
||||
var/obj/item/device/uplink/hidden/H = computer.hidden_uplink
|
||||
@@ -54,14 +54,14 @@
|
||||
if(href_list["mute_message"])
|
||||
message_mute = !message_mute
|
||||
SSvueui.check_uis_for_change(src)
|
||||
|
||||
|
||||
// User only commands
|
||||
if(!istype(my_user))
|
||||
return
|
||||
// Following actions require signal
|
||||
if(!get_signal(NTNET_COMMUNICATION))
|
||||
return
|
||||
|
||||
|
||||
if(href_list["send"])
|
||||
var/mob/living/user = usr
|
||||
var/datum/ntnet_conversation/conv = locate(href_list["send"]["target"])
|
||||
@@ -125,7 +125,7 @@
|
||||
if(href_list["direct"])
|
||||
var/datum/ntnet_user/tUser = locate(href_list["direct"])
|
||||
ntnet_global.begin_direct(src, tUser)
|
||||
|
||||
|
||||
if(href_list["toggleadmin"])
|
||||
if(netadmin_mode)
|
||||
netadmin_mode = FALSE
|
||||
@@ -182,7 +182,7 @@
|
||||
my_user = computer.registered_id.chat_user
|
||||
if(service_state > PROGRAM_STATE_KILLED)
|
||||
activate_chat_client()
|
||||
|
||||
|
||||
|
||||
/datum/computer_file/program/chat_client/event_unregistered()
|
||||
. = ..()
|
||||
@@ -219,7 +219,7 @@
|
||||
if(headerdata)
|
||||
data["_PC"] = headerdata
|
||||
. = data
|
||||
|
||||
|
||||
data["service"] = service_state > PROGRAM_STATE_KILLED
|
||||
data["registered"] = istype(my_user)
|
||||
data["signal"] = get_signal(NTNET_COMMUNICATION)
|
||||
@@ -271,5 +271,5 @@
|
||||
return
|
||||
if(src in my_user.clients)
|
||||
my_user.clients.Remove(src)
|
||||
if(src in ntnet_global.chat_clients)
|
||||
if(src in ntnet_global.chat_clients)
|
||||
ntnet_global.chat_clients.Remove(src)
|
||||
@@ -4,7 +4,7 @@ var/global/nttransfer_uid = 0
|
||||
filename = "nttransfer"
|
||||
filedesc = "NTNet P2P Transfer Client"
|
||||
extended_desc = "This program allows for simple file transfer via direct peer to peer connection."
|
||||
program_icon_state = "comm_logs"
|
||||
program_icon_state = "generic"
|
||||
size = 7
|
||||
requires_ntnet = TRUE
|
||||
requires_ntnet_feature = NTNET_PEERTOPEER
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
filedesc = "Records"
|
||||
extended_desc = "Used to view, edit and maintain records."
|
||||
|
||||
program_icon_state = "generic"
|
||||
program_icon_state = "command"
|
||||
color = LIGHT_COLOR_BLUE
|
||||
available_on_ntnet = FALSE
|
||||
size = 6
|
||||
@@ -45,7 +45,7 @@
|
||||
records_type = RECORD_MEDICAL | RECORD_VIRUS
|
||||
edit_type = RECORD_MEDICAL
|
||||
default_screen = "medical"
|
||||
program_icon_state = "medical_record"
|
||||
program_icon_state = "med"
|
||||
color = LIGHT_COLOR_CYAN
|
||||
|
||||
/datum/computer_file/program/records/security
|
||||
@@ -61,7 +61,7 @@
|
||||
records_type = RECORD_SECURITY
|
||||
edit_type = RECORD_SECURITY
|
||||
default_screen = "security"
|
||||
program_icon_state = "security_record"
|
||||
program_icon_state = "sec"
|
||||
color = LIGHT_COLOR_RED
|
||||
|
||||
/datum/computer_file/program/records/employment
|
||||
@@ -77,7 +77,7 @@
|
||||
|
||||
records_type = RECORD_GENERAL | RECORD_SECURITY
|
||||
edit_type = RECORD_GENERAL
|
||||
program_icon_state = "employment_record"
|
||||
program_icon_state = "command"
|
||||
color = LIGHT_COLOR_BLUE
|
||||
|
||||
/datum/computer_file/program/records/pai
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/datum/computer_file/program/suit_sensors
|
||||
filename = "sensormonitor"
|
||||
filedesc = "Suit Sensors Monitoring"
|
||||
program_icon_state = "crew"
|
||||
program_icon_state = "med"
|
||||
extended_desc = "This program connects to life signs monitoring system to provide basic information on crew health."
|
||||
required_access_run = access_medical
|
||||
required_access_download = access_cmo
|
||||
@@ -36,7 +36,7 @@
|
||||
if(headerdata)
|
||||
data["_PC"] = headerdata
|
||||
. = data
|
||||
|
||||
|
||||
var/datum/signal/signal
|
||||
signal = telecomms_process_active()
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
if(signal.data["done"] == 1)
|
||||
for(var/z_level in current_map.map_levels)
|
||||
data["crewmembers"] += crew_repository.health_data(z_level)
|
||||
|
||||
|
||||
return data // This UI needs to constantly update
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/datum/computer_file/program/chemistry_codex
|
||||
filename = "chemcodex"
|
||||
filedesc = "Chemistry Codex"
|
||||
program_icon_state = "generic"
|
||||
program_icon_state = "med"
|
||||
extended_desc = "Useful program to view chemical reactions and how to make them."
|
||||
size = 14
|
||||
requires_access_to_run = PROGRAM_ACCESS_LIST_ONE
|
||||
@@ -28,7 +28,7 @@
|
||||
if(headerdata)
|
||||
data["_PC"] = headerdata
|
||||
. = data
|
||||
|
||||
|
||||
// Here goes listification
|
||||
if(data["reactions"] == null)
|
||||
. = data
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/datum/computer_file/program/ntnetmonitor
|
||||
filename = "ntmonitor"
|
||||
filedesc = "NTNet Diagnostics and Monitoring"
|
||||
program_icon_state = "comm_monitor"
|
||||
program_icon_state = "sci"
|
||||
extended_desc = "This program monitors stationwide NTNet network, provides access to logging systems, and allows for configuration changes"
|
||||
size = 12
|
||||
requires_ntnet = TRUE
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
filename = "cammon"
|
||||
filedesc = "Camera Monitoring"
|
||||
nanomodule_path = /datum/nano_module/camera_monitor
|
||||
program_icon_state = "cameras"
|
||||
program_icon_state = "sec_alarm"
|
||||
extended_desc = "This program allows remote access to station's camera system. Some camera networks may have additional access requirements."
|
||||
size = 12
|
||||
available_on_ntnet = TRUE
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
filename = "digitalwarrant"
|
||||
filedesc = "Warrant Assistant"
|
||||
extended_desc = "Official NTsec program for creation and handling of warrants."
|
||||
program_icon_state = "security"
|
||||
program_icon_state = "sec"
|
||||
color = LIGHT_COLOR_ORANGE
|
||||
size = 8
|
||||
requires_ntnet = TRUE
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
filename = "guntracker"
|
||||
filedesc = "Firearm Control"
|
||||
extended_desc = "Official NTsec program for the tracking and remote control of wireless-enabled firearms."
|
||||
program_icon_state = "security"
|
||||
program_icon_state = "sec"
|
||||
color = LIGHT_COLOR_ORANGE
|
||||
size = 8
|
||||
requires_ntnet = TRUE
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/datum/computer_file/program/implant_tracker
|
||||
filename = "implnttrckr"
|
||||
filedesc = "Remote Implant Tracking"
|
||||
program_icon_state = "security"
|
||||
program_icon_state = "sec"
|
||||
extended_desc = "This program allows authorized security personnel to track and remotely interface with active implants."
|
||||
required_access_run = access_armory
|
||||
requires_ntnet = TRUE
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/datum/computer_file/program/penal_mechs
|
||||
filename = "penalrobotics"
|
||||
filedesc = "Remote Penal Monitoring"
|
||||
program_icon_state = "security"
|
||||
program_icon_state = "sec"
|
||||
extended_desc = "This program allows monitoring and control of active penal robotics."
|
||||
required_access_run = access_armory
|
||||
required_access_download = access_armory
|
||||
@@ -35,7 +35,7 @@
|
||||
|
||||
// Gather data for computer header
|
||||
data["_PC"] = get_header_data(data["_PC"])
|
||||
|
||||
|
||||
var/datum/signal/signal
|
||||
signal = telecomms_process_active()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user