diff --git a/src/DarkWeb.js b/src/DarkWeb.js
index 74cf5b98f..197088f9b 100644
--- a/src/DarkWeb.js
+++ b/src/DarkWeb.js
@@ -32,6 +32,7 @@ function executeDarkwebTerminalCommand(commandArray) {
post("Incorrect number of arguments. Usage: ");
post("buy -l");
post("buy [item name]");
+ return;
}
var arg = commandArray[1];
if (arg == "-l") {
diff --git a/src/HelpText.js b/src/HelpText.js
index 7ab281e16..d74e13f8f 100644
--- a/src/HelpText.js
+++ b/src/HelpText.js
@@ -3,6 +3,7 @@ let TerminalHelpText =
"Type 'help name' to learn more about the command 'name'
" +
'alias [-g] [name="value"] Create or display Terminal aliases
' +
"analyze Get information about the current machine
" +
+ "buy [-l/program] Purchase a program through the Dark Web
" +
"cat [file] Display a .msg or .lit file
" +
"check [script] [args...] Print a script's logs to Terminal
" +
"clear Clear all text on the terminal
" +
@@ -56,6 +57,11 @@ let HelpTexts = {
"server details such as the hostname, whether the player has root access, what ports are opened/closed, and also " +
"hacking-related information such as an estimated chance to successfully hack, an estimate of how much money is " +
"available on the server, etc.",
+ buy: "buy [-l / program]
" +
+ "Purchase a program through the Dark Web. Requires a TOR router to use.
" +
+ "If this command is ran with the '-l' flag, it will display a list of all programs that can be bought through the " +
+ "dark web to the Terminal, as well as their costs.
" +
+ "Otherwise, the name of the program must be passed in as a parameter. This is name is NOT case-sensitive.",
cat: "cat [file]
" +
"Display message files, which are files ending with the '.msg' extension, or a literature file, which " +
"are files ending with the '.lit' extension. Examples:
" +
diff --git a/src/RedPill.js b/src/RedPill.js
index e9afa0ef3..2948749b4 100644
--- a/src/RedPill.js
+++ b/src/RedPill.js
@@ -2,7 +2,8 @@ import {BitNode, BitNodes} from "./BitNode.js";
import {Engine} from "./engine.js";
import {Player} from "./Player.js";
import {prestigeSourceFile} from "./Prestige.js";
-import {SourceFiles, SourceFile} from "./SourceFile.js";
+import {SourceFiles, SourceFile,
+ PlayerOwnedSourceFile} from "./SourceFile.js";
import {Terminal} from "./Terminal.js";
import {dialogBoxCreate} from "../utils/DialogBox.js";