Merge pull request #4084 from Rasmoh/expose_exports

CORPORATION API: FIX #3655 Expose exports from Material
This commit is contained in:
hydroflame
2022-09-23 00:46:28 -03:00
committed by GitHub
2 changed files with 20 additions and 1 deletions

View File

@@ -7233,10 +7233,25 @@ interface Material {
prod: number;
/** Amount of material sold */
sell: number;
/** cost to buy material */
/** Cost to buy material */
cost: number;
/** Sell cost, can be "MP+5" */
sCost: string | number;
/** Export orders */
exp: Export[];
}
/**
* Export order for a material
* @public
*/
interface Export {
/** Division the material is being exported to */
div: string;
/** City the material is being exported to */
loc: string;
/** Amount of material exported */
amt: string;
}
/**