New Folder Structure test
This commit is contained in:
14
Mizzajl/home/Ramses/CorpControl.js
Normal file
14
Mizzajl/home/Ramses/CorpControl.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/** @param {NS} ns */
|
||||
export async function main(ns) {
|
||||
let cities = ["Sector-12", "Aevum", "Volhaven", "Chongqing", "New Tokyo", "Ishima"];
|
||||
let corpName = "AgraNeo";
|
||||
//ns.tprint(ns.corporation.getConstants())
|
||||
//ns.corporation.getMaterial();
|
||||
//ns.corporation.buyMaterial();
|
||||
for (let city of cities) {
|
||||
await ns.run("/corp/Smart.js",1,corpName,city);
|
||||
await ns.tprint(ns.run("/corp/UpgradeOffice.js",1,corpName,city));
|
||||
await ns.sleep(1000)
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user