Add investment info to API representation of product (#661)

This commit is contained in:
Snarling
2023-07-05 19:50:29 -04:00
committed by GitHub
parent 312e3eb71f
commit 3981f72149
5 changed files with 34 additions and 0 deletions
+2
View File
@@ -340,6 +340,8 @@ export function NetscriptCorporation(): InternalAPI<NSCorporation> {
productionAmount: cityData.productionAmount,
actualSellAmount: cityData.actualSellAmount,
developmentProgress: product.developmentProgress,
advertisingInvestment: product.advertisingInvestment,
designInvestment: product.designInvestment,
};
},
purchaseWarehouse: (ctx) => (_divisionName, _cityName) => {