Record computers to modular computers (#7797)

Things this does:

    Refactors _app_preset_name to use a type name instead. This makes it validate the presets at compile time, making it much more secure.
    Removes all records computers from the code, along with the CMC.
    Replaces all records computers with appropriate modular computers
    Each head of staff now has 1 departmental computer, 1 head-specific computer, 1 head laptop
    Removes the C&C program from the heads that had it, because you're supposed to use the bridge for it.
This commit is contained in:
Erki
2019-12-27 15:58:12 +02:00
committed by GitHub
parent 8fce204145
commit 8ce37c8b28
22 changed files with 202 additions and 757 deletions

View File

@@ -54,7 +54,6 @@
new/datum/computer_file/program/rcon_console(),
new/datum/computer_file/program/camera_monitor(),
new/datum/computer_file/program/lighting_control(),
new/datum/computer_file/program/comm(),
new/datum/computer_file/program/records/employment()
)
return _prg_list
@@ -85,7 +84,6 @@
new/datum/computer_file/program/chatclient(),
new/datum/computer_file/program/civilian/cargoorder(),
new/datum/computer_file/program/suit_sensors(),
new/datum/computer_file/program/comm(),
new/datum/computer_file/program/records/employment(),
new/datum/computer_file/program/records/medical()
)
@@ -118,8 +116,6 @@
new/datum/computer_file/program/civilian/cargoorder(),
new/datum/computer_file/program/ntnetmonitor(),
new/datum/computer_file/program/aidiag(),
//new/datum/computer_file/program/exosuit_monitor(),
new/datum/computer_file/program/comm(1),
new/datum/computer_file/program/records/employment()
)
return _prg_list
@@ -152,7 +148,6 @@
new/datum/computer_file/program/civilian/cargoorder(),
new/datum/computer_file/program/civilian/cargocontrol(),
new/datum/computer_file/program/card_mod(),
new/datum/computer_file/program/comm(),
new/datum/computer_file/program/records/employment(),
new/datum/computer_file/program/records/security()
)
@@ -193,8 +188,7 @@
new/datum/computer_file/program/camera_monitor(),
new/datum/computer_file/program/comm(),
new/datum/computer_file/program/digitalwarrant(),
new/datum/computer_file/program/records/security(),
new/datum/computer_file/program/records/employment()
new/datum/computer_file/program/records/security()
)
return _prg_list
@@ -220,16 +214,15 @@
display_name = "Security - HoS"
description = "Contains the most common security programs and command software."
available = 0
/datum/modular_computer_app_presets/security/hos/return_install_programs()
var/list/_prg_list = list(
new/datum/computer_file/program/filemanager(),
new/datum/computer_file/program/chatclient(),
new/datum/computer_file/program/civilian/cargoorder(),
new/datum/computer_file/program/camera_monitor(),
new/datum/computer_file/program/comm(),
new/datum/computer_file/program/digitalwarrant(),
new/datum/computer_file/program/records/security(),
new/datum/computer_file/program/comm(1),
new/datum/computer_file/program/records/employment()
)
return _prg_list

View File

@@ -3,6 +3,7 @@
#define STATE_VIEWMESSAGE 3
#define STATE_STATUSDISPLAY 4
#define STATE_ALERT_LEVEL 5
/datum/computer_file/program/comm
filename = "comm"
filedesc = "Command and communications program."
@@ -446,3 +447,9 @@ Command action procs
message_admins("[user? key_name_admin(user) : "Autotransfer"] has called the shuttle.", 1)
return
#undef STATE_DEFAULT
#undef STATE_MESSAGELIST
#undef STATE_VIEWMESSAGE
#undef STATE_STATUSDISPLAY
#undef STATE_ALERT_LEVEL