good night sync
This commit is contained in:
7
Ramses/home/corp/SetMaterialLimit.js
Normal file
7
Ramses/home/corp/SetMaterialLimit.js
Normal 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.limitMaterialProduction(sDivName, sCity, oCurrentGoods.sMaterialName,50);
|
||||
ns.writePort(ns.pid, true);
|
||||
}
|
||||
Reference in New Issue
Block a user