Changed bad text in tutorial text

This commit is contained in:
Daniel Xie 2017-05-15 22:31:05 -05:00
parent 223bc3c2c6
commit 823fda5344
2 changed files with 10 additions and 12 deletions

@ -41,6 +41,4 @@ Private beta feedback
Now, only other suggestion before sleep would be to be able to buy multiple Hacknet upgrades in one click Now, only other suggestion before sleep would be to be able to buy multiple Hacknet upgrades in one click
2) - "Wrong Command! Try Again!" seemed a bit out of place for a terminal. Trying to repro this, it seems you may have already fixed it?
5) - As a programmer... you cannot take the TAB key from us in the script editor. :neutral_face: Not sure how the game itself is coded, but if you've got to EAT a ghost-tab just to give me one in-editor... let me tab out my code in-script, or I'll go mad.
6) - Maybe show total $ somewhere onscreen at all (or most) times. $/sec would also be good to know, depending on if you want the player to know that. Bottom of the menu on the left is an empty enough place to keep these. 6) - Maybe show total $ somewhere onscreen at all (or most) times. $/sec would also be good to know, depending on if you want the player to know that. Bottom of the menu on the left is an empty enough place to keep these.

@ -374,19 +374,19 @@ var Terminal = {
if (commandArray[0] == "help") { if (commandArray[0] == "help") {
post(CONSTANTS.HelpText); post(CONSTANTS.HelpText);
iTutorialNextStep(); iTutorialNextStep();
} else {post("Wrong command! Try again!");} } else {post("Bad command. Please follow the tutorial");}
break; break;
case iTutorialSteps.TerminalLs: case iTutorialSteps.TerminalLs:
if (commandArray[0] == "ls") { if (commandArray[0] == "ls") {
Terminal.executeListCommand(commandArray); Terminal.executeListCommand(commandArray);
iTutorialNextStep(); iTutorialNextStep();
} else {post("Wrong command! Try again!");} } else {post("Bad command. Please follow the tutorial");}
break; break;
case iTutorialSteps.TerminalScan: case iTutorialSteps.TerminalScan:
if (commandArray[0] == "scan") { if (commandArray[0] == "scan") {
Terminal.executeScanCommand(commandArray); Terminal.executeScanCommand(commandArray);
iTutorialNextStep(); iTutorialNextStep();
} else {post("Wrong command! Try again!");} } else {post("Bad command. Please follow the tutorial");}
break; break;
case iTutorialSteps.TerminalConnect: case iTutorialSteps.TerminalConnect:
@ -399,7 +399,7 @@ var Terminal = {
post("Connected to foodnstuff"); post("Connected to foodnstuff");
iTutorialNextStep(); iTutorialNextStep();
} else {post("Wrong command! Try again!"); return;} } else {post("Wrong command! Try again!"); return;}
} else {post("Wrong command! Try again!");} } else {post("Bad command. Please follow the tutorial");}
break; break;
case iTutorialSteps.TerminalAnalyze: case iTutorialSteps.TerminalAnalyze:
if (commandArray[0] == "analyze") { if (commandArray[0] == "analyze") {
@ -418,7 +418,7 @@ var Terminal = {
$('input[class=terminal-input]').prop('disabled', true); $('input[class=terminal-input]').prop('disabled', true);
iTutorialNextStep(); iTutorialNextStep();
} else { } else {
post("Wrong command! Try again!"); post("Bad command. Please follow the tutorial");
} }
break; break;
case iTutorialSteps.TerminalNuke: case iTutorialSteps.TerminalNuke:
@ -427,7 +427,7 @@ var Terminal = {
foodnstuffServ.hasAdminRights = true; foodnstuffServ.hasAdminRights = true;
post("NUKE successful! Gained root access to foodnstuff"); post("NUKE successful! Gained root access to foodnstuff");
iTutorialNextStep(); iTutorialNextStep();
} else {post("Wrong command! Try again!");} } else {post("Bad command. Please follow the tutorial");}
break; break;
case iTutorialSteps.TerminalManualHack: case iTutorialSteps.TerminalManualHack:
if (commandArray.length == 1 && commandArray[0] == "hack") { if (commandArray.length == 1 && commandArray[0] == "hack") {
@ -440,14 +440,14 @@ var Terminal = {
document.getElementById("terminal-input-td").innerHTML = '<input type="text" class="terminal-input"/>'; document.getElementById("terminal-input-td").innerHTML = '<input type="text" class="terminal-input"/>';
$('input[class=terminal-input]').prop('disabled', true); $('input[class=terminal-input]').prop('disabled', true);
iTutorialNextStep(); iTutorialNextStep();
} else {post("Wrong command! Try again!");} } else {post("Bad command. Please follow the tutorial");}
break; break;
case iTutorialSteps.TerminalCreateScript: case iTutorialSteps.TerminalCreateScript:
if (commandArray.length == 2 && if (commandArray.length == 2 &&
commandArray[0] == "nano" && commandArray[1] == "foodnstuff.script") { commandArray[0] == "nano" && commandArray[1] == "foodnstuff.script") {
Engine.loadScriptEditorContent("foodnstuff", ""); Engine.loadScriptEditorContent("foodnstuff", "");
iTutorialNextStep(); iTutorialNextStep();
} else {post("Wrong command! Try again!");} } else {post("Bad command. Please follow the tutorial");}
case iTutorialSteps.TerminalFree: case iTutorialSteps.TerminalFree:
if (commandArray.length == 1 && commandArray[0] == "free") { if (commandArray.length == 1 && commandArray[0] == "free") {
Terminal.executeFreeCommand(commandArray); Terminal.executeFreeCommand(commandArray);
@ -459,7 +459,7 @@ var Terminal = {
commandArray[0] == "run" && commandArray[1] == "foodnstuff.script") { commandArray[0] == "run" && commandArray[1] == "foodnstuff.script") {
Terminal.runScript("foodnstuff.script"); Terminal.runScript("foodnstuff.script");
iTutorialNextStep(); iTutorialNextStep();
} else {post("Wrong command! Try again!");} } else {post("Bad command. Please follow the tutorial");}
break; break;
case iTutorialSteps.ActiveScriptsToTerminal: case iTutorialSteps.ActiveScriptsToTerminal:
if (commandArray.length == 2 && if (commandArray.length == 2 &&
@ -471,7 +471,7 @@ var Terminal = {
} }
} }
iTutorialNextStep(); iTutorialNextStep();
} else {post("Wrong command! Try again!");} } else {post("Bad command. Please follow the tutorial");}
break; break;
default: default:
post("Please follow the tutorial, or click 'Exit Tutorial' if you'd like to skip it"); post("Please follow the tutorial, or click 'Exit Tutorial' if you'd like to skip it");