Add buyAmount and importAmount to Corporation Material API (#1553)

This commit is contained in:
Yichi Zhang
2024-08-08 18:13:03 -07:00
committed by GitHub
parent 685b7d51f7
commit 93eb9b0cef
5 changed files with 36 additions and 2 deletions

View File

@@ -8725,10 +8725,14 @@ interface Material {
demand: number | undefined;
/** Competition for the material, only present if "Market Research - Competition" unlocked */
competition: number | undefined;
/** Amount of material produced last cycle */
productionAmount: number;
/** Amount of material purchased from the market last cycle */
buyAmount: number;
/** Amount of material sold last cycle */
actualSellAmount: number;
/** Amount of material produced last cycle */
productionAmount: number;
/** Amount of material imported from other divisions last cycle */
importAmount: number;
/** Cost to buy material */
marketPrice: number;
/** Sell cost, can be "MP+5" */