[MIRROR] Makes Modular PC icons not hardcoded in NtosMain.js, and fixes them not showing up (#1151)

* Unhardcodes Modular PC icons (#54158)

* Changes modPC program icons to not be hardcoded

* icons

* tgui.bundle.js, we meet again

* Makes Modular PC icons not hardcoded in NtosMain.js, and fixes them not showing up

Co-authored-by: zxaber <37497534+zxaber@users.noreply.github.com>
This commit is contained in:
SkyratBot
2020-10-04 15:25:44 +02:00
committed by GitHub
parent 71706f898e
commit f8ce14a9a6
26 changed files with 28 additions and 22 deletions
@@ -9,6 +9,7 @@
transfer_access = ACCESS_HEADS
available_on_ntnet = TRUE
tgui_id = "NtosAiRestorer"
program_icon = "laptop-code"
/// Variable dictating if we are in the process of restoring the AI in the inserted intellicard
var/restoring = FALSE
@@ -7,6 +7,7 @@
requires_ntnet = 1
size = 5
tgui_id = "NtosStationAlertConsole"
program_icon = "bell"
var/has_alert = 0
var/alarms = list("Fire" = list(), "Atmosphere" = list(), "Power" = list())
@@ -9,6 +9,7 @@
unsendable = 1
undeletable = 1
tgui_id = "SyndContractor"
program_icon = "tasks"
var/error = ""
var/info_screen = TRUE
var/assigned = FALSE
@@ -8,6 +8,7 @@
available_on_ntnet = FALSE
available_on_syndinet = TRUE
tgui_id = "NtosNetDos"
program_icon = "satellite-dish"
var/obj/machinery/ntnet_relay/target = null
var/dos_speed = 0
@@ -8,6 +8,7 @@
available_on_ntnet = FALSE
available_on_syndinet = TRUE
tgui_id = "NtosRevelation"
program_icon = "magnet"
var/armed = 0
/datum/computer_file/program/revelation/run_program(mob/living/user)
@@ -6,6 +6,7 @@
requires_ntnet = FALSE
size = 6
tgui_id = "NtosArcade"
program_icon = "gamepad"
///Returns TRUE if the game is being played.
var/game_active = TRUE
@@ -5,6 +5,7 @@
extended_desc = "A small built-in sensor reads out the atmospheric conditions around the device."
size = 4
tgui_id = "NtosAtmos"
program_icon = "thermometer-half"
/datum/computer_file/program/atmosscan/run_program(mob/living/user)
. = ..()
@@ -8,6 +8,7 @@
transfer_access = ACCESS_ROBOTICS
size = 5
tgui_id = "NtosCyborgRemoteMonitor"
program_icon = "project-diagram"
/datum/computer_file/program/borg_monitor/ui_data(mob/user)
var/list/data = get_header_data()
@@ -15,6 +15,7 @@
requires_ntnet = 0
size = 8
tgui_id = "NtosCard"
program_icon = "id-card"
var/is_centcom = FALSE
var/minor = FALSE
@@ -5,6 +5,7 @@
extended_desc = "A combination printer/scanner app that enables modular computers to print barcodes for easy scanning and shipping."
size = 6
tgui_id = "NtosShipping"
program_icon = "tags"
///Account used for creating barcodes.
var/datum/bank_account/payments_acc
///The amount which the tagger will receive for the sale.
@@ -13,6 +13,7 @@
available_on_ntnet = 0
requires_ntnet = 0
tgui_id = "NtosConfiguration"
program_icon = "cog"
var/obj/item/modular_computer/movable = null
@@ -7,6 +7,7 @@
requires_ntnet = TRUE
size = 4
tgui_id = "NtosCrewManifest"
program_icon = "clipboard-list"
/datum/computer_file/program/crew_manifest/ui_static_data(mob/user)
var/list/data = list()
@@ -8,6 +8,7 @@
available_on_ntnet = FALSE
undeletable = TRUE
tgui_id = "NtosFileManager"
program_icon = "folder"
var/open_file
var/error
@@ -7,6 +7,7 @@
requires_ntnet = TRUE
size = 4
tgui_id = "NtosJobManager"
program_icon = "address-book"
var/change_position_cooldown = 30
//Jobs you cannot open new positions for
@@ -11,6 +11,7 @@
available_on_ntnet = FALSE
ui_header = "downloader_finished.gif"
tgui_id = "NtosNetDownloader"
program_icon = "download"
var/datum/computer_file/program/downloaded_file = null
var/hacked_download = FALSE
@@ -8,6 +8,7 @@
required_access = ACCESS_NETWORK //NETWORK CONTROL IS A MORE SECURE PROGRAM.
available_on_ntnet = TRUE
tgui_id = "NtosNetMonitor"
program_icon = "network-wired"
/datum/computer_file/program/ntnetmonitor/ui_act(action, params)
. = ..()
@@ -9,6 +9,7 @@
ui_header = "ntnrc_idle.gif"
available_on_ntnet = 1
tgui_id = "NtosNetChat"
program_icon = "comment-alt"
var/last_message // Used to generate the toolbar icon
var/username
var/active_channel
@@ -11,6 +11,7 @@
requires_ntnet = 0
size = 9
tgui_id = "NtosPowerMonitor"
program_icon = "plug"
var/has_alert = 0
var/obj/structure/cable/attached_wire
@@ -213,6 +213,7 @@
requires_ntnet = TRUE
transfer_access = ACCESS_MEDICAL
available_on_ntnet = TRUE
program_icon = "heartbeat"
/datum/computer_file/program/radar/lifeline/find_atom()
return locate(selected) in GLOB.human_list
@@ -263,6 +264,7 @@
available_on_ntnet = FALSE
available_on_syndinet = TRUE
tgui_id = "NtosRadarSyndicate"
program_icon = "bomb"
arrowstyle = "ntosradarpointerS.png"
pointercolor = "red"
@@ -8,6 +8,7 @@
requires_ntnet = TRUE
size = 12
tgui_id = "NtosRoboControl"
program_icon = "robot"
///Number of simple robots on-station.
var/botcount = 0
///Used to find the location of the user for the purposes of summoning robots.
@@ -12,6 +12,7 @@
usage_flags = PROGRAM_TABLET
size = 5
tgui_id = "NtosRobotact"
program_icon = "terminal"
///A typed reference to the computer, specifying the borg tablet type
var/obj/item/modular_computer/tablet/integrated/tablet
@@ -8,6 +8,7 @@
transfer_access = ACCESS_CONSTRUCTION
size = 5
tgui_id = "NtosSupermatterMonitor"
program_icon = "radiation"
var/last_status = SUPERMATTER_INACTIVE
var/list/supermatters
var/obj/machinery/power/supermatter_crystal/active // Currently selected supermatter crystal.