mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 23:53:48 +01:00
1.6 KiB
1.6 KiB
Product interface
Product in a warehouse
Signature:
interface Product
Properties
Property | Modifiers | 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" |