Merge pull request #337 from Mughur/uptodate

MISC: small fixes
This commit is contained in:
Mughur 2023-01-24 23:32:13 +02:00 committed by GitHub
commit c42303c1f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

@ -817,6 +817,7 @@ so you should write a script to automate the process. Here's a simple example fo
startup script. Feel free to adjust it to your liking. startup script. Feel free to adjust it to your liking.
.. code:: javascript .. code:: javascript
/** @param {NS} ns */ /** @param {NS} ns */
export async function main(ns) { export async function main(ns) {
// Array of all servers that don't need any ports opened // Array of all servers that don't need any ports opened
@ -862,6 +863,7 @@ startup script. Feel free to adjust it to your liking.
ns.exec("early-hack-template.sj", serv, 12); ns.exec("early-hack-template.sj", serv, 12);
} }
} }
Random Tips Random Tips
----------- -----------
* Early on in the game, it's better to spend your money on upgrading RAM and purchasing * Early on in the game, it's better to spend your money on upgrading RAM and purchasing

@ -48,10 +48,8 @@ There are two versions of Netscript:
* :doc:`netscript1` * :doc:`netscript1`
* :doc:`netscriptjs` * :doc:`netscriptjs`
Visit the pages above to get more details about each version. If you are new Visit the pages above to get more details about each version. Note that :doc:`netscript1` is being depprecated,
to programming or unfamiliar with JavaScript, I would recommend starting out so I'd recommend migrating any scripts using it to :doc:`netscriptjs`
with :doc:`netscript1`. Experienced web developers can use :doc:`netscriptjs`
to take advantage of faster speeds and additional features.
Here is a short summary of the differences between Netscript 1.0 and Netscript 2.0: Here is a short summary of the differences between Netscript 1.0 and Netscript 2.0:

@ -3535,7 +3535,7 @@ export type Gang = {
* *
* Bonus time is accumulated when the game is offline or if the game is inactive in the browser. * Bonus time is accumulated when the game is offline or if the game is inactive in the browser.
* *
* Bonus time makes the game progress faster, up to 10x the normal speed. * Bonus time makes the game progress faster, up to 25x the normal speed.
* *
* @returns Bonus time for the Gang mechanic in milliseconds. * @returns Bonus time for the Gang mechanic in milliseconds.
*/ */