expose material cost

closes #3173
This commit is contained in:
phyzical
2022-04-01 22:32:48 +08:00
parent 13c486d639
commit e5bb695f6f
2 changed files with 5 additions and 2 deletions
+1
View File
@@ -352,6 +352,7 @@ export function NetscriptCorporation(
const materialName = helper.string("getMaterial", "materialName", _materialName);
const material = getMaterial(divisionName, cityName, materialName);
return {
cost: material.bCost,
name: material.name,
qty: material.qty,
qlt: material.qlt,