mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 09:43:54 +01:00
Small improvements to Interactive Tutorial
This commit is contained in:
parent
6975b46d4d
commit
63da40689d
@ -16,7 +16,7 @@ TerminalHelpText =
|
||||
"ifconfig Displays the IP address of the machine<br>" +
|
||||
"kill [script] [args...] Stops the specified script on the current server <br>" +
|
||||
"killall Stops all running scripts on the current machine<br>" +
|
||||
"ls Displays all programs and scripts on the machine<br>" +
|
||||
"ls [| grep pattern] Displays all files on the machine<br>" +
|
||||
"mem [script] [-t] [n] Displays the amount of RAM required to run the script<br>" +
|
||||
"nano [script] Script editor - Open up and edit a script<br>" +
|
||||
"ps Display all scripts that are currently running<br>" +
|
||||
|
@ -257,7 +257,7 @@ function iTutorialEvaluateStep() {
|
||||
//next step triggered by terminal commmand
|
||||
break;
|
||||
case iTutorialSteps.TerminalRunScript:
|
||||
iTutorialSetText("We have 4GB of free RAM on this machine, which is enough to run our " +
|
||||
iTutorialSetText("We have 8GB of free RAM on this machine, which is enough to run our " +
|
||||
"script. Let's run our script using 'run foodnstuff.script'.");
|
||||
//next step triggered by terminal commmand
|
||||
break;
|
||||
@ -641,6 +641,9 @@ function iTutorialEnd() {
|
||||
currITutorialStep = iTutorialSteps.End;
|
||||
iTutorialIsRunning = false;
|
||||
document.getElementById("interactive-tutorial-container").style.display = "none";
|
||||
dialogBoxCreate("If you are new to the game, the following links may be useful for you!<br><br>" +
|
||||
"<a class='a-link-button' href='http://bitburner.wikia.com/wiki/Chapt3rs_Guide_to_Getting_Started_with_Bitburner' target='_blank'>Getting Started Guide</a>" +
|
||||
"<a class='a-link-button' href='http://bitburner.wikia.com/wiki/Bitburner_Wiki' target='_blank'>Wiki</a>");
|
||||
}
|
||||
|
||||
function iTutorialSetText(txt) {
|
||||
|
@ -679,6 +679,7 @@ var Engine = {
|
||||
|
||||
//Displays the text when a section of the Tutorial is opened
|
||||
displayTutorialPage: function(text) {
|
||||
document.getElementById("tutorial-getting-started-link").style.display = "none";
|
||||
Engine.Clickables.tutorialNetworkingButton.style.display = "none";
|
||||
Engine.Clickables.tutorialHackingButton.style.display = "none";
|
||||
Engine.Clickables.tutorialScriptsButton.style.display = "none";
|
||||
|
Loading…
Reference in New Issue
Block a user