mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 06:18:42 +02:00
1.6 KiB
1.6 KiB
Material interface
Material in a warehouse
Signature:
interface Material
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| actualSellAmount | number | Amount of material sold 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 | |
| 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 |