diff --git a/src/NetscriptFunctions/Corporation.ts b/src/NetscriptFunctions/Corporation.ts index 6ff8cb3c3..73f88fef3 100644 --- a/src/NetscriptFunctions/Corporation.ts +++ b/src/NetscriptFunctions/Corporation.ts @@ -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, diff --git a/src/ScriptEditor/NetscriptDefinitions.d.ts b/src/ScriptEditor/NetscriptDefinitions.d.ts index e98b03557..4a2610dab 100644 --- a/src/ScriptEditor/NetscriptDefinitions.d.ts +++ b/src/ScriptEditor/NetscriptDefinitions.d.ts @@ -7111,6 +7111,8 @@ interface Material { sell: number; /** cost to buy material */ cost: number; + /** Sell cost, can be "MP+5" */ + sCost: string | number; } /**