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();
|
||||
|
||||
Reference in New Issue
Block a user