bitburner-scripts/src/test.ts

9 lines
224 B
TypeScript

import { NS } from "@ns";
import { cloud } from "./ezgame/cloud";
export const main = (ns: NS) => {
const upgradeCost = ns.cloud.getServerUpgradeCost("worker-1", 2);
console.log(upgradeCost);
cloud.upgradeAll(ns);
};