From 2d522ea1e6ecc3f61433e0a02612a0afaeab1311 Mon Sep 17 00:00:00 2001 From: Olivier Gagnon Date: Thu, 21 Jul 2022 15:09:55 -0400 Subject: [PATCH] allbuild commit e9254edf --- dist/bitburner.d.ts | 4 +- dist/main.bundle.js | 4 +- dist/main.bundle.js.map | 2 +- src/Achievements/Achievements.ts | 3 +- src/Netscript/RamCostGenerator.ts | 2 - src/NetscriptFunctions/Singularity.ts | 61 +------------ src/NetscriptWorker.ts | 2 +- src/PersonObjects/IPlayer.ts | 2 +- .../Player/PlayerObjectWorkMethods.ts | 1 + src/Script/isScriptFilename.ts | 2 +- src/ScriptEditor/NetscriptDefinitions.d.ts | 90 +------------------ src/ScriptEditor/ui/ScriptEditorRoot.tsx | 6 +- src/Terminal/DirectoryHelpers.ts | 4 +- src/Terminal/HelpText.ts | 4 +- src/Terminal/commands/cat.ts | 7 +- src/Terminal/commands/common/editor.ts | 4 +- src/Terminal/commands/runScript.ts | 3 - 17 files changed, 26 insertions(+), 175 deletions(-) diff --git a/dist/bitburner.d.ts b/dist/bitburner.d.ts index 561c6dbbe..bb5ed7885 100644 --- a/dist/bitburner.d.ts +++ b/dist/bitburner.d.ts @@ -4614,7 +4614,7 @@ export declare interface NS { * RAM cost: 0 GB * * Retrieves data from a URL and downloads it to a file on the specified server. - * The data can only be downloaded to a script (.script, .ns, .js) or a text file (.txt). + * The data can only be downloaded to a script (.script or .js) or a text file (.txt). * If the file already exists, it will be overwritten by this command. * Note that it will not be possible to download data from many websites because they * do not allow cross-origin resource sharing (CORS). @@ -4758,7 +4758,7 @@ export declare interface NS { * ]); * tprint(data); * - * // example.ns + * // example.js * export async function main(ns) { * const data = ns.flags([ * ['delay', 0], // a default number means this flag is a number diff --git a/dist/main.bundle.js b/dist/main.bundle.js index 023c85cf7..0e7615adc 100644 --- a/dist/main.bundle.js +++ b/dist/main.bundle.js @@ -1,4 +1,4 @@ -!function(e){function t(t){for(var a,o,s=t[0],l=t[1],c=t[2],u=0,m=[];u