From 40843e35434d56e883655e4377994ac76746b184 Mon Sep 17 00:00:00 2001 From: AlmightyMiau Date: Wed, 13 Nov 2024 10:56:53 -0800 Subject: Organized scripts into folders --- bitburnerFiles1026/batch/batch.js | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 bitburnerFiles1026/batch/batch.js (limited to 'bitburnerFiles1026/batch/batch.js') diff --git a/bitburnerFiles1026/batch/batch.js b/bitburnerFiles1026/batch/batch.js deleted file mode 100644 index c5cb7f5..0000000 --- a/bitburnerFiles1026/batch/batch.js +++ /dev/null @@ -1,36 +0,0 @@ -import { setOfObjects } from '/batch/batcher.js'; - -/** @param {NS} ns */ -export async function main(ns) { - // SINGLE BATCH RUN BY BATCHER.JS - // RUNS TWO WEAKENS, A GROW, AND A HACK - // SEPERATED BY SOME TIME - /* - Initialize the object - - run weaken.js with [weaken-hack] threads - wait some [weakenBuffer] time - run weaken.js with [weakenThreadsGrow] threads - wait some [grow buffer] time - run grow.js with [grow] threads - wait some [hack buffer] time - run hack.js with [hack] threads - */ - - // ns.disableLog("ALL"); - // ns.clearLog(); - // ns.tail(); - - let object = setOfObjects[ns.args[0]]; - - - ns.exec("/batch/weaken.js", "home", Math.ceil(object.weakenThreadsHack), object.target); - await ns.sleep(object.weakenBuffer); - ns.exec("/batch/weaken.js", "home", Math.ceil(object.weakenThreadsGrow), object.target); - await ns.sleep(object.growBuffer); - ns.exec("/batch/grow.js", "home", Math.ceil(object.growThreads), object.target); - await ns.sleep(object.hackBuffer); - ns.exec("/batch/hack.js", "home", Math.ceil(object.hackThreads), object.target); - // ns.tprint(object.weakenThreadsHack) - -} \ No newline at end of file -- cgit v1.2.3