New Folder Structure test

This commit is contained in:
Philipp
2024-10-06 10:09:10 +02:00
commit d74f083c52
115 changed files with 9187 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
/** @param {NS} ns */
export async function main(ns) {
let cities = ["Sector-12", "Aevum", "Volhaven", "Chongqing", "New Tokyo", "Ishima"];
let corpName = "ChemNeo";
let currentSize = 0;
for (let city of cities) {
currentSize = ns.corporation.getOffice(corpName, city).size;
if (currentSize < 4) {
ns.corporation.upgradeOfficeSize(corpName, city, 4 - currentSize);
};
}
}