Modular Computer Program Availability Buffs (#8841)

This commit is contained in:
ParadoxSpace
2020-05-18 11:06:53 -06:00
committed by GitHub
parent d108a2b496
commit d062092a8f
7 changed files with 91 additions and 5 deletions
@@ -29,6 +29,8 @@
/datum/modular_computer_app_presets/engineering/return_install_programs()
var/list/_prg_list = list(
new /datum/computer_file/program/filemanager(),
new /datum/computer_file/program/newsbrowser(),
new /datum/computer_file/program/manifest(),
new /datum/computer_file/program/chatclient(),
new /datum/computer_file/program/civilian/cargoorder(),
new /datum/computer_file/program/power_monitor(),
@@ -50,6 +52,8 @@
/datum/modular_computer_app_presets/engineering/ce/return_install_programs()
var/list/_prg_list = list(
new /datum/computer_file/program/filemanager(),
new /datum/computer_file/program/newsbrowser(),
new /datum/computer_file/program/manifest(),
new /datum/computer_file/program/chatclient(),
new /datum/computer_file/program/civilian/cargoorder(),
new /datum/computer_file/program/comm(FALSE),
@@ -74,6 +78,8 @@
/datum/modular_computer_app_presets/medical/return_install_programs()
var/list/_prg_list = list(
new /datum/computer_file/program/filemanager(),
new /datum/computer_file/program/newsbrowser(),
new /datum/computer_file/program/manifest(),
new /datum/computer_file/program/chatclient(),
new /datum/computer_file/program/civilian/cargoorder(),
new /datum/computer_file/program/suit_sensors(),
@@ -91,6 +97,8 @@
/datum/modular_computer_app_presets/medical/cmo/return_install_programs()
var/list/_prg_list = list(
new /datum/computer_file/program/filemanager(),
new /datum/computer_file/program/newsbrowser(),
new /datum/computer_file/program/manifest(),
new /datum/computer_file/program/chatclient(),
new /datum/computer_file/program/civilian/cargoorder(),
new /datum/computer_file/program/comm(FALSE),
@@ -110,6 +118,8 @@
/datum/modular_computer_app_presets/research/return_install_programs()
var/list/_prg_list = list(
new /datum/computer_file/program/ntnetdownload(),
new /datum/computer_file/program/newsbrowser(),
new /datum/computer_file/program/manifest(),
new /datum/computer_file/program/filemanager(),
new /datum/computer_file/program/chatclient(),
new /datum/computer_file/program/civilian/cargoorder(),
@@ -128,6 +138,8 @@
/datum/modular_computer_app_presets/research/rd/return_install_programs()
var/list/_prg_list = list(
new /datum/computer_file/program/filemanager(),
new /datum/computer_file/program/newsbrowser(),
new /datum/computer_file/program/manifest(),
new /datum/computer_file/program/chatclient(),
new /datum/computer_file/program/civilian/cargoorder(),
new /datum/computer_file/program/comm(FALSE),
@@ -147,6 +159,8 @@
/datum/modular_computer_app_presets/command/return_install_programs()
var/list/_prg_list = list(
new /datum/computer_file/program/filemanager(),
new /datum/computer_file/program/newsbrowser(),
new /datum/computer_file/program/manifest(),
new /datum/computer_file/program/chatclient(),
new /datum/computer_file/program/civilian/cargoorder(),
new /datum/computer_file/program/card_mod(),
@@ -165,6 +179,8 @@
/datum/modular_computer_app_presets/command/hop/return_install_programs()
var/list/_prg_list = list(
new /datum/computer_file/program/filemanager(),
new /datum/computer_file/program/newsbrowser(),
new /datum/computer_file/program/manifest(),
new /datum/computer_file/program/chatclient(),
new /datum/computer_file/program/civilian/cargoorder(),
new /datum/computer_file/program/civilian/cargocontrol(),
@@ -185,6 +201,8 @@
/datum/modular_computer_app_presets/captain/return_install_programs()
var/list/_prg_list = list(
new /datum/computer_file/program/filemanager(),
new /datum/computer_file/program/newsbrowser(),
new /datum/computer_file/program/manifest(),
new /datum/computer_file/program/chatclient(),
new /datum/computer_file/program/card_mod(),
new /datum/computer_file/program/comm(FALSE),
@@ -210,6 +228,8 @@
/datum/modular_computer_app_presets/security/return_install_programs()
var/list/_prg_list = list(
new /datum/computer_file/program/nttransfer(),
new /datum/computer_file/program/newsbrowser(),
new /datum/computer_file/program/manifest(),
new /datum/computer_file/program/filemanager(),
new /datum/computer_file/program/chatclient(),
new /datum/computer_file/program/civilian/cargoorder(),
@@ -231,6 +251,8 @@
/datum/modular_computer_app_presets/security/investigations/return_install_programs()
var/list/_prg_list = list(
new /datum/computer_file/program/nttransfer(),
new /datum/computer_file/program/newsbrowser(),
new /datum/computer_file/program/manifest(),
new /datum/computer_file/program/filemanager(),
new /datum/computer_file/program/chatclient(),
new /datum/computer_file/program/camera_monitor(),
@@ -252,6 +274,8 @@
/datum/modular_computer_app_presets/security/hos/return_install_programs()
var/list/_prg_list = list(
new /datum/computer_file/program/nttransfer(),
new /datum/computer_file/program/newsbrowser(),
new /datum/computer_file/program/manifest(),
new /datum/computer_file/program/filemanager(),
new /datum/computer_file/program/chatclient(),
new /datum/computer_file/program/civilian/cargoorder(),
@@ -274,6 +298,8 @@
/datum/modular_computer_app_presets/civilian/return_install_programs()
var/list/_prg_list = list(
new /datum/computer_file/program/filemanager(),
new /datum/computer_file/program/newsbrowser(),
new /datum/computer_file/program/manifest(),
new /datum/computer_file/program/chatclient(),
new /datum/computer_file/program/civilian/cargoorder(),
new /datum/computer_file/program/game/arcade(),
@@ -291,6 +317,8 @@
/datum/modular_computer_app_presets/supply/return_install_programs()
var/list/_prg_list = list(
new /datum/computer_file/program/filemanager(),
new /datum/computer_file/program/newsbrowser(),
new /datum/computer_file/program/manifest(),
new /datum/computer_file/program/chatclient(),
new /datum/computer_file/program/civilian/cargocontrol(),
new /datum/computer_file/program/civilian/cargoorder(),
@@ -308,6 +336,8 @@
/datum/modular_computer_app_presets/cargo_delivery/return_install_programs()
var/list/_prg_list = list(
new /datum/computer_file/program/filemanager(),
new /datum/computer_file/program/newsbrowser(),
new /datum/computer_file/program/manifest(),
new /datum/computer_file/program/chatclient(),
new /datum/computer_file/program/civilian/cargodelivery(),
new /datum/computer_file/program/ntsl2_interpreter()
@@ -323,6 +353,8 @@
/datum/modular_computer_app_presets/representative/return_install_programs()
var/list/_prg_list = list(
new /datum/computer_file/program/filemanager(),
new /datum/computer_file/program/newsbrowser(),
new /datum/computer_file/program/manifest(),
new /datum/computer_file/program/chatclient(),
new /datum/computer_file/program/game/sudoku(),
new /datum/computer_file/program/civilian/cargoorder(),
@@ -340,6 +372,8 @@
/datum/modular_computer_app_presets/wall_generic/return_install_programs()
var/list/_prg_list = list(
new /datum/computer_file/program/filemanager(),
new /datum/computer_file/program/newsbrowser(),
new /datum/computer_file/program/manifest(),
new /datum/computer_file/program/chatclient(),
new /datum/computer_file/program/civilian/cargoorder(),
new /datum/computer_file/program/camera_monitor(),
@@ -357,6 +391,8 @@
/datum/modular_computer_app_presets/merc/return_install_programs()
var/list/_prg_list = list(
new /datum/computer_file/program/filemanager(),
new /datum/computer_file/program/newsbrowser(),
new /datum/computer_file/program/manifest(),
new /datum/computer_file/program/nttransfer(),
new /datum/computer_file/program/camera_monitor/hacked()
)
@@ -403,6 +439,8 @@
/datum/modular_computer_app_presets/merchant/return_install_programs()
var/list/_prg_list = list(
new /datum/computer_file/program/filemanager(),
new /datum/computer_file/program/manifest(),
new /datum/computer_file/program/newsbrowser(),
new /datum/computer_file/program/chatclient(),
new /datum/computer_file/program/merchant()
)
@@ -5,7 +5,7 @@
size = 10
requires_ntnet = TRUE
available_on_ntnet = TRUE
usage_flags = PROGRAM_LAPTOP | PROGRAM_TELESCREEN | PROGRAM_CONSOLE
usage_flags = PROGRAM_ALL
nanomodule_path = /datum/nano_module/program/civilian/cargoorder
/datum/nano_module/program/civilian/cargoorder
@@ -24,7 +24,7 @@
if(!co)
var/datum/cargo_order/crord = new
co = crord
var/list/data = host.initial_data()
//Pass the ID Data
@@ -109,7 +109,7 @@
co.ordered_by = last_user_name
co.reason = reason
co.set_submitted()
status_message = "Order submitted successfully. Order ID: [co.order_id] Tracking code: [co.get_tracking_code()]"
status_message = "Order submitted successfully. Order ID: [co.order_id] Tracking code: [co.get_tracking_code()]"
//TODO: Print a list with the order data
co = null
return TRUE
@@ -136,7 +136,7 @@
//page = "main"
//selected_item = ""
return TRUE
//Remove item from the order list
if(href_list["remove_item"])
status_message = co.remove_item(text2num(href_list["remove_item"]))
@@ -172,7 +172,7 @@
if(href_list["select_category"])
selected_category = href_list["select_category"]
return TRUE
if(href_list["clear_message"])
status_message = null
return TRUE
@@ -11,6 +11,7 @@
required_access_download = access_ce
requires_ntnet = TRUE
network_destination = "power monitoring system"
usage_flags = PROGRAM_ALL
size = 9
var/has_alert = FALSE
color = LIGHT_COLOR_ORANGE
@@ -40,6 +41,7 @@
extended_desc = "This program provides visual interface for station's alarm system."
requires_ntnet = TRUE
network_destination = "alarm monitoring network"
usage_flags = PROGRAM_ALL
size = 5
var/has_alert = FALSE
color = LIGHT_COLOR_CYAN
@@ -3,6 +3,7 @@
filedesc = "Crew Manifest"
program_icon_state = "generic"
extended_desc = "This program is used for viewing the crew manifest."
usage_flags = PROGRAM_ALL
size = 3
requires_ntnet = 1
@@ -3,6 +3,7 @@
filedesc = "NTNet/ExoNet News Browser"
extended_desc = "This program may be used to view and download news articles from the network."
program_icon_state = "generic"
usage_flags = PROGRAM_CONSOLE | PROGRAM_LAPTOP | PROGRAM_TABLET | PROGRAM_STATIONBOUND | PROGRAM_WRISTBOUND
size = 2
requires_ntnet = TRUE
available_on_ntnet = TRUE
@@ -3,6 +3,7 @@
filedesc = "NTSL2+ Interpreter"
extended_desc = "This program is used to run NTSL2+ programs."
program_icon_state = "generic"
usage_flags = PROGRAM_ALL
size = 8
requires_ntnet = TRUE
available_on_ntnet = TRUE