Merge pull request #42 from danielyxie/dev

Programming tutorial opens link in new tab. Fixed some text
This commit is contained in:
danielyxie 2017-06-02 12:05:04 -05:00 committed by GitHub
commit 2d87181c02
2 changed files with 4 additions and 4 deletions

@ -1,5 +1,5 @@
CONSTANTS = {
Version: "0.19.2",
Version: "0.19.3",
//Max level for any skill, assuming no multipliers. Determined by max numerical value in javascript for experience
//and the skill level formula in Player.js. Note that all this means it that when experience hits MAX_INT, then
@ -237,9 +237,9 @@ CONSTANTS = {
"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'>" +
"Therefore, a good beginner's programming tutorial to read might be <a href='https://www.w3schools.com/js/default.asp' target='_blank'>" +
"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>" +
"syntax will vary a little bit. </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>" +

@ -368,7 +368,7 @@ function iTutorialEvaluateStep() {
case iTutorialSteps.TutorialPageInfo:
iTutorialSetText("This page contains a lot of different documentation about the game's " +
"content and mechanics. <strong style='background-color:#444;'> I know it's a lot, but I highly suggest you read " +
"(or at least skim) through this before you start playing </strong>. That's the end of the tutorial. " +
"(or at least skim) through this before you start playing</strong>. That's the end of the tutorial. " +
"Hope you enjoy the game!");
var next = clearEventListeners("interactive-tutorial-next");
next.style.display = "inline-block";