diff --git a/doc/source/guidesandtips/gettingstartedguideforbeginnerprogrammers.rst b/doc/source/guidesandtips/gettingstartedguideforbeginnerprogrammers.rst index 9d6fd64fb..ff9eb275c 100644 --- a/doc/source/guidesandtips/gettingstartedguideforbeginnerprogrammers.rst +++ b/doc/source/guidesandtips/gettingstartedguideforbeginnerprogrammers.rst @@ -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 diff --git a/doc/source/netscript/netscriptlearntoprogram.rst b/doc/source/netscript/netscriptlearntoprogram.rst index fbb687654..bf18b93ec 100644 --- a/doc/source/netscript/netscriptlearntoprogram.rst +++ b/doc/source/netscript/netscriptlearntoprogram.rst @@ -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: diff --git a/src/ScriptEditor/NetscriptDefinitions.d.ts b/src/ScriptEditor/NetscriptDefinitions.d.ts index b6a57b1e0..d245d4f84 100644 --- a/src/ScriptEditor/NetscriptDefinitions.d.ts +++ b/src/ScriptEditor/NetscriptDefinitions.d.ts @@ -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. */