mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-19 04:35:46 +01:00
fb1f95c26e
See PR #271 description
1.5 KiB
1.5 KiB
Product interface
Product in a warehouse
Signature:
interface Product
Properties
Property | Type | Description |
---|---|---|
cityData | Record<CityName | `${CityName}`, number[]> | Data refers to the production, sale, and quantity of the products These values are specific to a city For each city, the data is [qty, prod, sell] |
cmp | number | undefined | Competition for the product, only present if "Market Research - Competition" unlocked |
developmentProgress | number | Creation progress - A number between 0-100 representing percentage |
dmd | number | undefined | Demand for the product, only present if "Market Research - Demand" unlocked |
name | string | Name of the product |
pCost | number | Production cost |
properties | { [key: string]: number } | Product Properties. The data is {qlt, per, dur, rel, aes, fea} |
rat | number | Product Rating |
sCost | string | number | Sell cost, can be "MP+5" |