diff --git a/src/NetscriptFunctions/Corporation.ts b/src/NetscriptFunctions/Corporation.ts index c5270207b..93b42f5de 100644 --- a/src/NetscriptFunctions/Corporation.ts +++ b/src/NetscriptFunctions/Corporation.ts @@ -287,6 +287,7 @@ export function NetscriptCorporation(): InternalAPI { developmentProgress: product.developmentProgress, advertisingInvestment: product.advertisingInvestment, designInvestment: product.designInvestment, + size: product.size, }; }, purchaseWarehouse: (ctx) => (_divisionName, _cityName) => { diff --git a/src/ScriptEditor/NetscriptDefinitions.d.ts b/src/ScriptEditor/NetscriptDefinitions.d.ts index 68503362f..ffba381cf 100644 --- a/src/ScriptEditor/NetscriptDefinitions.d.ts +++ b/src/ScriptEditor/NetscriptDefinitions.d.ts @@ -7900,6 +7900,8 @@ interface Product { advertisingInvestment: number; /** Funds that were spent on designing the product */ designInvestment: number; + /** How much warehouse space is occupied per unit of this product */ + size: number; } /**