small fixes

This commit is contained in:
Mughur 2023-01-24 23:28:53 +02:00
parent d6a0d5fcaa
commit 9c365d0da5
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.
.. code:: javascript
/** @param {NS} ns */
export async function main(ns) {
// 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);
}
}
Random Tips
-----------
* 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:`netscriptjs`
Visit the pages above to get more details about each version. If you are new
to programming or unfamiliar with JavaScript, I would recommend starting out
with :doc:`netscript1`. Experienced web developers can use :doc:`netscriptjs`
to take advantage of faster speeds and additional features.
Visit the pages above to get more details about each version. Note that :doc:`netscript1` is being depprecated,
so I'd recommend migrating any scripts using it to :doc:`netscriptjs`
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 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.
*/