diff --git a/src/InteractiveTutorial.ts b/src/InteractiveTutorial.ts index be67f422c..7093763a9 100644 --- a/src/InteractiveTutorial.ts +++ b/src/InteractiveTutorial.ts @@ -4,10 +4,6 @@ import { LiteratureNames } from "./Literature/data/LiteratureNames"; import { ITutorialEvents } from "./ui/InteractiveTutorial/ITutorialEvents"; -import { createElement } from "../utils/uiHelpers/createElement"; -import { createPopup } from "../utils/uiHelpers/createPopup"; -import { removeElementById } from "../utils/uiHelpers/removeElementById"; - // Ordered array of keys to Interactive Tutorial Steps enum iTutorialSteps { Start, @@ -141,28 +137,6 @@ function iTutorialPrevStep(): void { function iTutorialEnd(): void { ITutorial.isRunning = false; - // Create a popup with final introductory stuff - const popupId = "interactive-tutorial-ending-popup"; - const txt = createElement("p", { - innerHTML: - "If you are new to the game, the following links may be useful for you!

" + - "Getting Started Guide" + - "Documentation

" + - "The Beginner's Guide to Hacking was added to your home computer! It contains some tips/pointers for starting out with the game. " + - "To read it, go to Terminal and enter

cat " + - LiteratureNames.HackersStartingHandbook, - }); - const gotitBtn = createElement("a", { - class: "a-link-button", - float: "right", - padding: "6px", - innerText: "Got it!", - clickListener: () => { - removeElementById(popupId); - }, - }); - createPopup(popupId, [txt, gotitBtn]); - Player.getHomeComputer().messages.push(LiteratureNames.HackersStartingHandbook); ITutorialEvents.emit(); }