mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-19 20:55:44 +01:00
Fixed typos and improved text in documentation/tutorial
This commit is contained in:
parent
53d03e2933
commit
807fb8d850
@ -652,7 +652,7 @@ initAugmentations = function() {
|
||||
AddToAugmentations(NeuralAccelerator);
|
||||
|
||||
var CranialSignalProcessorsG1 = new Augmentation(AugmentationNames.CranialSignalProcessorsG1);
|
||||
CranialSignalProcessorsG1.setRequirements(4000, 16000000);
|
||||
CranialSignalProcessorsG1.setRequirements(4000, 14000000);
|
||||
CranialSignalProcessorsG1.setInfo("The first generation of Cranial Signal Processors. Cranial Signal Processors " +
|
||||
"are a set of specialized microprocessors that are attached to " +
|
||||
"neurons in the brain. These chips process neural signals to quickly and automatically perform specific computations " +
|
||||
|
@ -232,7 +232,15 @@ CONSTANTS = {
|
||||
|
||||
TutorialScriptsText: "Scripts can be used to automate the hacking process. Scripts must be written in the Netscript language. " +
|
||||
"Documentation about the Netscript language can be found in the 'Netscript Programming Language' " +
|
||||
"section of this 'Tutorial' page. <br><br>Running a script requires RAM. The more complex a script is, the more RAM " +
|
||||
"section of this 'Tutorial' page. <br><br> " +
|
||||
"<strong>It is highly recommended that you have a basic background in programming to start writing scripts. " +
|
||||
"You by no means need to be an expert. All you need is some familiarity with basic programming " +
|
||||
"constructs like for/while loops, if statements, " +
|
||||
"functions, variables, etc. The Netscript programming language most resembles the Javascript language. " +
|
||||
"Therefore, a good beginner's programming tutorial to read might <a href='https://www.w3schools.com/js/default.asp'>" +
|
||||
"this one</a>. Note that while the Netscript language is similar to Javascript, it is not the exact same, so the " +
|
||||
"syntax will vary. </strong> <br><br>" +
|
||||
"Running a script requires RAM. The more complex a script is, the more RAM " +
|
||||
"it requires to run. Scripts can be run on any server you have root access to. <br><br>" +
|
||||
"Here are some Terminal commands that are useful when working with scripts: <br>" +
|
||||
"free - Shows the current server's RAM usage and availability <br>" +
|
||||
|
@ -242,7 +242,7 @@ function iTutorialEvaluateStep() {
|
||||
"it out after this tutorial. </strong> For now, just copy " +
|
||||
"and paste the following code into the script editor: <br><br>" +
|
||||
"while(true) { <br>" +
|
||||
"hack('foodnstuff'); <br>" +
|
||||
" hack('foodnstuff'); <br>" +
|
||||
"}<br><br> " +
|
||||
"For anyone with basic programming experience, this code should be straightforward. " +
|
||||
"This script will continuously hack the 'foodnstuff' server. <br><br>" +
|
||||
@ -351,7 +351,7 @@ function iTutorialEvaluateStep() {
|
||||
break;
|
||||
case iTutorialSteps.WorldDescription:
|
||||
iTutorialSetText("This page lists all of the different locations you can currently " +
|
||||
"travel to. Each location has something that can you do. " +
|
||||
"travel to. Each location has something that you can do. " +
|
||||
"There's a lot of content out in the world, make sure " +
|
||||
"you explore and discover!<br><br>" +
|
||||
"Lastly, click on the 'Tutorial' link in the main navigation menu.");
|
||||
|
@ -158,6 +158,8 @@ function prestigeAugmentation() {
|
||||
var s = homeComp.scripts[i];
|
||||
s.reset();
|
||||
}
|
||||
//Delete messages on home computer
|
||||
homeComp.messages.length = 0;
|
||||
|
||||
//Delete active scripts display elements
|
||||
var list = Engine.ActiveScriptsList.querySelectorAll('#active-scripts-list li');
|
||||
|
Loading…
Reference in New Issue
Block a user