mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-23 08:03:48 +01:00
1.9 KiB
1.9 KiB
Material interface
Material in a warehouse
Signature:
interface Material
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
actualSellAmount | number | Amount of material sold last cycle | |
buyAmount | number | Amount of material purchased from the market last cycle | |
competition | number | undefined | Competition for the material, only present if "Market Research - Competition" unlocked | |
demand | number | undefined | 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 | |
importAmount | number | Amount of material imported from other divisions last cycle | |
marketPrice | number | Cost to buy material | |
name | CorpMaterialName | Name of the material | |
productionAmount | number | Amount of material produced last cycle | |
quality | number | Quality of the material | |
stored | number | Amount of material |