second try
This commit is contained in:
@@ -103,8 +103,9 @@ export async function main(ns) {
|
||||
|
||||
//Home Upgrades
|
||||
if (nMoney > ns.singularity.getUpgradeHomeRamCost()) {
|
||||
let nHomeRAMUpgradeCost = ns.singularity.getUpgradeHomeRamCost();
|
||||
ns.singularity.upgradeHomeRam();
|
||||
ns.tprint(cCyan + "Upgraded home RAM" + cReset);
|
||||
ns.tprint(cCyan + "Upgraded home RAM to " + (nHomeMaxRAM*2) + " for " + nHomeRAMUpgradeCost + cReset);
|
||||
}
|
||||
else if (nCores < 8 && nMoney > ns.singularity.getUpgradeHomeCoresCost()) {
|
||||
ns.singularity.upgradeHomeCores();
|
||||
|
||||
@@ -22,7 +22,7 @@ export async function main(ns) {
|
||||
const sGrowScript = "RMgrow.js";
|
||||
const sWeakenScript = "RMweaken.js";
|
||||
|
||||
const nHackThreads = 5; //1
|
||||
const nHackThreads = 50; //1
|
||||
|
||||
const nHackScriptRAM = 1.75;
|
||||
const nGrowScriptRAM = 1.7;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{"setting":{
|
||||
"autoUpgrades":false,
|
||||
"autoUpgrades":true,
|
||||
"autoPurchaseServers":true
|
||||
}}
|
||||
Reference in New Issue
Block a user