mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-23 16:13:49 +01:00
1.4 KiB
1.4 KiB
Product interface
Product in a warehouse
Signature:
interface Product
Properties
Property | Type | Description |
---|---|---|
cityData | { [key: string]: 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" |