diff --git a/daemon.js b/daemon.js index 193312ba..d12ae9cd 100644 --- a/daemon.js +++ b/daemon.js @@ -363,7 +363,7 @@ export async function main(ns) { { name: "stockmaster.js", shouldRun: () => reqRam(64), args: openTailWindows ? ["--show-market-summary"] : [] }, // Start our stockmaster { name: "hacknet-upgrade-manager.js", shouldRun: () => shouldUpgradeHacknet(), args: ["-c", "--max-payoff-time", "1h", "--interval", "0"], shouldTail: false }, // One-time kickstart of hash income by buying everything with up to 1h payoff time immediately { name: "spend-hacknet-hashes.js", shouldRun: () => reqRam(64) && 9 in dictSourceFiles, args: [], shouldTail: false }, // Always have this running to make sure hashes aren't wasted - { name: "sleeve.js", shouldRun: () => reqRam(64) && 10 in dictSourceFiles }, // Script to create manage our sleeves for us + { name: "sleeve.js", shouldRun: () => reqRam(64) && 10 in dictSourceFiles && 4 in dictSourceFiles }, // Script to create manage our sleeves for us { name: "gangs.js", shouldRun: () => reqRam(64) && 2 in dictSourceFiles }, // Script to create manage our gang for us { name: "work-for-factions.js", args: ['--fast-crimes-only', '--no-coding-contracts'], // Singularity script to manage how we use our "focus" work. diff --git a/sleeve.js b/sleeve.js index 5f52e963..49901b9c 100644 --- a/sleeve.js +++ b/sleeve.js @@ -63,8 +63,8 @@ export async function main(ns) { playerInGang = playerInBladeburner = false; // Ensure we have access to sleeves ownedSourceFiles = await getActiveSourceFiles(ns); - if (!(10 in ownedSourceFiles)) - return ns.tprint("WARNING: You cannot run sleeve.js until you do BN10."); + if (!(10 in ownedSourceFiles) || !(4 in ownedSourceFiles)) + return ns.tprint("WARNING: You cannot run sleeve.js until you do BN10 and BN4."); // Start the main loop while (true) { try { await mainLoop(ns); }