mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-18 20:25:45 +01:00
06a985bdf8
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
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" |