New Setup?
This commit is contained in:
24
Mizzajl/home/scanFactionAugments.js
Normal file
24
Mizzajl/home/scanFactionAugments.js
Normal file
@@ -0,0 +1,24 @@
|
||||
/** @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("----------------------------------------------------------------------------------------------------------------------------------------------------------");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user