Interface Material

Material in a warehouse

interface Material {
    actualSellAmount: number;
    competition: undefined | number;
    demand: undefined | number;
    desiredSellAmount: string | number;
    desiredSellPrice: string | number;
    exports: Export[];
    marketPrice: number;
    name: CorpMaterialName;
    productionAmount: number;
    quality: number;
    stored: number;
}

Properties

actualSellAmount: number

Amount of material sold last cycle

competition: undefined | number

Competition for the material, only present if "Market Research - Competition" unlocked

demand: undefined | number

Demand for the material, only present if "Market Research - Demand" unlocked

desiredSellAmount: string | number

Sell amount, can be "PROD/2"

desiredSellPrice: string | number

Sell cost, can be "MP+5"

exports: Export[]

Export orders

marketPrice: number

Cost to buy material

Name of the material

productionAmount: number

Amount of material produced last cycle

quality: number

Quality of the material

stored: number

Amount of material