Skip to content

Commit

Permalink
the file system
Browse files Browse the repository at this point in the history
  • Loading branch information
FalloutFalcon committed Oct 15, 2024
1 parent 8422ad2 commit 7b0b760
Showing 1 changed file with 8 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,24 +1,22 @@

/datum/computer_file/program/
filename = "aidiag"
filedesc = "NT FRK"
/datum/computer_file/program/mission
filename = "missionviewer"
filedesc = "Mission viewer"
program_icon_state = "generic"
extended_desc = "Mission viewer."
size = 12
requires_ntnet = TRUE
usage_flags = PROGRAM_CONSOLE | PROGRAM_LAPTOP
transfer_access = ACCESS_HEADS
available_on_ntnet = TRUE
tgui_id = "NtosAiRestorer"
tgui_id = "NtosMission"
/// Variable dictating if we are in the process of restoring the AI in the inserted intellicard
var/restoring = FALSE

ui_data(mob/user)
/datum/computer_file/program/mission/ui_data(mob/user)
var/list/data = list()
data["missions"] = list()
var/list/items_on_pad = recalc()
for(var/datum/mission/dynamic/M as anything in SSmissions.active_missions)
data["missions"] += list(M.get_tgui_info(items_on_pad))
data["pad"] = pad_ref?.resolve() ? TRUE : FALSE
data["id_inserted"] = inserted_scan_id ? TRUE : FALSE
data["missions"] += list(M.get_tgui_info())
data["pad"] = FALSE
data["id_inserted"] = FALSE
return data

0 comments on commit 7b0b760

Please sign in to comment.