Compare commits
2
Commits
7a5338daf5
...
fd61cb72e1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fd61cb72e1 | ||
|
|
3cf9484442 |
No files matched your search
File renamed without changes.
@@ -103,8 +103,9 @@ export async function main(ns) {
|
|||||||
|
|
||||||
//Home Upgrades
|
//Home Upgrades
|
||||||
if (nMoney > ns.singularity.getUpgradeHomeRamCost()) {
|
if (nMoney > ns.singularity.getUpgradeHomeRamCost()) {
|
||||||
|
let nHomeRAMUpgradeCost = ns.singularity.getUpgradeHomeRamCost();
|
||||||
ns.singularity.upgradeHomeRam();
|
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()) {
|
else if (nCores < 8 && nMoney > ns.singularity.getUpgradeHomeCoresCost()) {
|
||||||
ns.singularity.upgradeHomeCores();
|
ns.singularity.upgradeHomeCores();
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ export async function main(ns) {
|
|||||||
const sGrowScript = "RMgrow.js";
|
const sGrowScript = "RMgrow.js";
|
||||||
const sWeakenScript = "RMweaken.js";
|
const sWeakenScript = "RMweaken.js";
|
||||||
|
|
||||||
const nHackThreads = 5; //1
|
const nHackThreads = 50; //1
|
||||||
|
|
||||||
const nHackScriptRAM = 1.75;
|
const nHackScriptRAM = 1.75;
|
||||||
const nGrowScriptRAM = 1.7;
|
const nGrowScriptRAM = 1.7;
|
||||||
|
|||||||
File renamed without changes.
@@ -1,4 +1,4 @@
|
|||||||
{"setting":{
|
{"setting":{
|
||||||
"autoUpgrades":false,
|
"autoUpgrades":true,
|
||||||
"autoPurchaseServers":true
|
"autoPurchaseServers":true
|
||||||
}}
|
}}
|
||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user