mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-18 20:25:45 +01:00
fb1f95c26e
See PR #271 description
1.3 KiB
1.3 KiB
Material interface
Material in a warehouse
Signature:
interface Material
Properties
Property | Type | Description |
---|---|---|
cmp | number | undefined | Competition for the material, only present if "Market Research - Competition" unlocked |
cost | number | Cost to buy material |
dmd | number | undefined | Demand for the material, only present if "Market Research - Demand" unlocked |
exp | Export[] | Export orders |
name | CorpMaterialName | Name of the material |
prod | number | Amount of material produced |
qlt | number | Quality of the material |
qty | number | Amount of material |
sCost | string | number | Sell cost, can be "MP+5" |
sell | number | Amount of material sold |