[
  {
    "id": "EOC_MSU14_COMPUTER",
    "type": "effect_on_condition",
    "effect": [ "open_dialogue" ]
  },
  {
    "type": "talk_topic",
    "id": [ "MSU14_START", "MSU14_lOGIN_FAILED" ],
    "dynamic_line": "&<color_light_blue>Cyma Interface [version 0.85.1004]\n************************************************\n*  Copyright (c) Cyma Enterprise Systems 2023  *\n************************************************</color>\n\nLogin:\n\n",
    "responses": [
      { "text": "Attempt a login", "topic": "MSU14_lOGIN_FAILED" },
      {
        "text": "Login using the scribbled credentials",
        "topic": "MSU14_MAIN",
        "condition": { "u_has_item": "msu14_password" }
      },
      { "text": "Login with Hub 01 credentials", "topic": "MSU14_MAIN", "condition": { "u_has_mission": "RD_1" } },
      { "text": "Shut down", "topic": "TALK_DONE" }
    ]
  },
  {
    "type": "talk_topic",
    "id": "MSU14_lOGIN_FAILED",
    "dynamic_line": "&LOGIN FAILED\n\nLogin:\n\n"
  },
  {
    "type": "talk_topic",
    "id": "MSU14_MAIN",
    "dynamic_line": "&<color_red>WARNING: ADMINISTRATIVE LOCKDOWN IN EFFECT.  USAGE OF SYSTEM 14 HAS BEEN CURTAILED.</color>\n\n",
    "responses": [
      {
        "text": "Install the Hub software package.",
        "topic": "MSU14_MISSION_COMPLETE",
        "condition": { "u_has_mission": "RD_1" }
      },
      {
        "text": "Attempt to access System 14.",
        "condition": { "not": { "compare_string": [ "yes", { "u_val": "computer_hacking_msu14_hack" } ] } },
        "trial": { "type": "SKILL_CHECK", "difficulty": 5, "skill_required": "computer" },
        "success": { "topic": "MSU14_UNIT_ACCESS" },
        "failure": { "topic": "MSU14_HACK_FAILURE" }
      },
      { "text": "Browse stored documents.", "topic": "MSU14_PRE_DOCS" },
      { "text": "Log Off", "topic": "TALK_DONE" }
    ]
  },
  {
    "type": "talk_topic",
    "id": "MSU14_MISSION_COMPLETE",
    "dynamic_line": "&Processing 1 of 1 - Installing Sys3_rnp_4b12\n[====================] 100%\nThe operation completed successfully.\n\nRestart to apply changes.\nDo you want to restart now?  (Y/N)\n\n",
    "responses": [
      {
        "text": "Restart the computer and leave.",
        "topic": "TALK_DONE",
        "effect": { "npc_first_topic": "MSU14_LOCKED_START" }
      }
    ]
  },
  {
    "type": "talk_topic",
    "id": "MSU14_PRE_DOCS",
    "dynamic_line": "&Listing all saved files:\nA. P-144MS TALON UGV platform - Generative optimizations",
    "responses": [
      {
        "text": "View and print the Talon Schematics.",
        "topic": "MSU14_DOCS_SUCCESS",
        "condition": { "not": { "compare_string": [ "yes", { "u_val": "computer_hacking_msu14_printed_docs" } ] } }
      },
      {
        "text": "View and print the Talon Schematics.",
        "topic": "MSU14_DOCS_FAILURE",
        "condition": { "compare_string": [ "yes", { "u_val": "computer_hacking_msu14_printed_docs" } ] }
      },
      { "text": "Return.", "topic": "MSU14_MAIN" }
    ]
  },
  {
    "type": "talk_topic",
    "id": "MSU14_DOCS_SUCCESS",
    "dynamic_line": "&Printing…",
    "responses": [
      {
        "text": "Return.",
        "topic": "MSU14_MAIN",
        "effect": [
          { "u_spawn_item": "schematics_secubot", "count": 1 },
          { "u_add_var": "computer_hacking_msu14_printed_docs", "value": "yes" }
        ]
      }
    ]
  },
  {
    "type": "talk_topic",
    "id": "MSU14_DOCS_FAILURE",
    "dynamic_line": "&ERROR: Schematic access denied - too many requests.\nPlease contact the system administrator.",
    "responses": [ { "text": "Return.", "topic": "MSU14_MAIN" } ]
  },
  {
    "type": "talk_topic",
    "id": "MSU14_HACK_FAILURE",
    "dynamic_line": "&<color_red>ERROR</color>",
    "speaker_effect": { "effect": { "u_add_var": "computer_hacking_msu14_hack", "value": "yes" } },
    "responses": [ { "text": "Return", "topic": "MSU14_MAIN" } ]
  },
  {
    "type": "talk_topic",
    "id": "MSU14_UNIT_ACCESS",
    "dynamic_line": "&Module Name - Notice of Deactivation\nThis unit has been disconnected and its predictive capabilities disabled.  Please press any key to export the results of the last logged experiment.\n\nNo further input will be processed.\nHave a nice day.",
    "speaker_effect": { "effect": { "u_add_var": "computer_hacking_msu14_hack", "value": "yes" } },
    "responses": [
      {
        "text": "Press any key and shut down.",
        "effect": [
          { "run_eocs": [ "capture_generic_nre_anomaly" ] },
          { "u_spawn_item": "melchior_science_doc", "count": 1 },
          { "math": [ "u_counter_robofac_knowledge_dimensional_heuristics++" ] }
        ],
        "topic": "TALK_DONE"
      }
    ]
  },
  {
    "type": "talk_topic",
    "id": [ "MSU14_LOCKED_START" ],
    "dynamic_line": "&<color_light_blue>Cyma Interface [version 0.67.0459]\n************************************************\n*  Copyright (c) Cyma Enterprise Systems 2022  *\n************************************************</color>\n\nDATA TRANSMISSION COMPLETED.  NO FURTHER ACTIONS REQUIRED.\n\n",
    "responses": [ { "text": "Shut down.", "topic": "TALK_DONE" } ]
  }
]
