mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 09:43:54 +01:00
Fixed bugs with Darkweb buy, help text, and getting new Source files
This commit is contained in:
parent
97eeef7d0d
commit
fd2642cfe9
@ -32,6 +32,7 @@ function executeDarkwebTerminalCommand(commandArray) {
|
|||||||
post("Incorrect number of arguments. Usage: ");
|
post("Incorrect number of arguments. Usage: ");
|
||||||
post("buy -l");
|
post("buy -l");
|
||||||
post("buy [item name]");
|
post("buy [item name]");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
var arg = commandArray[1];
|
var arg = commandArray[1];
|
||||||
if (arg == "-l") {
|
if (arg == "-l") {
|
||||||
|
@ -3,6 +3,7 @@ let TerminalHelpText =
|
|||||||
"Type 'help name' to learn more about the command 'name'<br><br>" +
|
"Type 'help name' to learn more about the command 'name'<br><br>" +
|
||||||
'alias [-g] [name="value"] Create or display Terminal aliases<br>' +
|
'alias [-g] [name="value"] Create or display Terminal aliases<br>' +
|
||||||
"analyze Get information about the current machine <br>" +
|
"analyze Get information about the current machine <br>" +
|
||||||
|
"buy [-l/program] Purchase a program through the Dark Web<br>" +
|
||||||
"cat [file] Display a .msg or .lit file<br>" +
|
"cat [file] Display a .msg or .lit file<br>" +
|
||||||
"check [script] [args...] Print a script's logs to Terminal<br>" +
|
"check [script] [args...] Print a script's logs to Terminal<br>" +
|
||||||
"clear Clear all text on the terminal <br>" +
|
"clear Clear all text on the terminal <br>" +
|
||||||
@ -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 " +
|
"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 " +
|
"hacking-related information such as an estimated chance to successfully hack, an estimate of how much money is " +
|
||||||
"available on the server, etc.",
|
"available on the server, etc.",
|
||||||
|
buy: "buy [-l / program]<br>" +
|
||||||
|
"Purchase a program through the Dark Web. Requires a TOR router to use.<br><br>" +
|
||||||
|
"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.<br><br>" +
|
||||||
|
"Otherwise, the name of the program must be passed in as a parameter. This is name is NOT case-sensitive.",
|
||||||
cat: "cat [file]<br>" +
|
cat: "cat [file]<br>" +
|
||||||
"Display message files, which are files ending with the '.msg' extension, or a literature file, which " +
|
"Display message files, which are files ending with the '.msg' extension, or a literature file, which " +
|
||||||
"are files ending with the '.lit' extension. Examples:<br><br>" +
|
"are files ending with the '.lit' extension. Examples:<br><br>" +
|
||||||
|
@ -2,7 +2,8 @@ import {BitNode, BitNodes} from "./BitNode.js";
|
|||||||
import {Engine} from "./engine.js";
|
import {Engine} from "./engine.js";
|
||||||
import {Player} from "./Player.js";
|
import {Player} from "./Player.js";
|
||||||
import {prestigeSourceFile} from "./Prestige.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 {Terminal} from "./Terminal.js";
|
||||||
|
|
||||||
import {dialogBoxCreate} from "../utils/DialogBox.js";
|
import {dialogBoxCreate} from "../utils/DialogBox.js";
|
||||||
|
Loading…
Reference in New Issue
Block a user