small update

This commit is contained in:
2024-10-06 10:01:09 +02:00
parent 4945683d09
commit d5e55b31b3
2 changed files with 1 additions and 25 deletions

View File

@@ -32,7 +32,7 @@ export async function main(ns) {
//ns.tprint("nGrowScriptRAM = " + nGrowScriptRAM);
//const nFrequency = 50;
const nFrequency = getSetting("batchFrequency");
const nFrequency = getSetting(ns, "batchFrequency");
let nScriptsRAM;
let nMaxRam;
let nScripts;

View File

@@ -1,24 +0,0 @@
/** @param {NS} ns */
export async function main(ns) {
let aFactions = ns.getPlayer().factions;
ns.tprint("aFactions = " + aFactions);
let aAugmentations;
let sStats;
for (let f = 0; f < aFactions.length; f++) {
//ns.tprint("f = " + f);
//sFaction = ns.singularity.faction
aAugmentations = ns.singularity.getAugmentationsFromFaction(aFactions[f]);
ns.tprint("aAugmentations = " + aAugmentations);
ns.tprint("----------------------------------------------------------------------------------------------------------------------------------------------------------");
for (let a = 0; a < aFactions.length; a++) {
sStats = JSON.stringify(ns.singularity.getAugmentationStats(aAugmentations[a]));
ns.tprint(aAugmentations[f] + "sStats = " + sStats);
ns.tprint("----------------------------------------------------------------------------------------------------------------------------------------------------------");
}
}
}