Expose sales cost on NSMaterial interface

This commit is contained in:
David Grinberg 2022-04-27 22:37:19 -04:00
parent 9c805dabb8
commit b2abec7424
2 changed files with 3 additions and 0 deletions

@ -359,6 +359,7 @@ export function NetscriptCorporation(
const corporation = getCorporation();
return {
cost: material.bCost,
sCost: material.sCost,
name: material.name,
qty: material.qty,
qlt: material.qlt,

@ -7111,6 +7111,8 @@ interface Material {
sell: number;
/** cost to buy material */
cost: number;
/** Sell cost, can be "MP+5" */
sCost: string | number;
}
/**