diff --git a/autopilot.js b/autopilot.js index d414f8e6..1bfd881e 100644 --- a/autopilot.js +++ b/autopilot.js @@ -491,6 +491,10 @@ async function maybeInstallAugmentations(ns, player) { setStatus(ns, `No singularity access, so you're on your own. You should manually work for factions and install augmentations!`); return false; // Cannot automate augmentations or installs without singularity } + const hasTixApiAccess = await getNsDataThroughFile(ns, 'ns.stock.hasTIXAPIAccess()'); + if(!hasTixApiAccess) { + return false; //We cant liquidate + } // If we previously attempted to reserve money for an augmentation purchase order, do a fresh facman run to ensure it's still available if (reservedPurchase && installCountdown <= Date.now()) { log(ns, "INFO: Manually running faction-manager.js to ensure previously reserved purchase is still obtainable.");