cleaning up my stuff a bit

This commit is contained in:
2024-10-14 15:49:08 +02:00
parent 2647d16396
commit 3b27212f9a
46 changed files with 191 additions and 1936 deletions

View File

@@ -0,0 +1,7 @@
/** @param {NS} ns */
export async function main(ns) {
let [sDivName, sCity, oCurrentGoods] = ns.args;
oCurrentGoods = JSON.parse(oCurrentGoods);
ns.corporation.sellMaterial(sDivName,sCity,oCurrentGoods.sMaterialName,oCurrentGoods.yAmount,oCurrentGoods.yPrice);
ns.writePort(ns.pid, true);
}