mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 14:59:16 +02:00
* corp overhaul: Corp production quality now depends on materials * corp overhaul: Product price can be set separately for each city * corp overhaul: export uses relatives * corp overhaul: ignore energy in quality * corp overhaul: getProduct() is city dependant * corp overhaul: bulkbuy available from start * corp overhaul: add multibuy for leveled upgrads * corp overhaul: changes to UI * corp overhaul: base quality 1, reqmat changes * corp overhaul: puchased material quality is 1 * corp overhaul: get rid of the text box from ta2 * corp overhaul: sold shares limitations * corp overhaul: coffee -> tea, training -> intern * corp overhaul: smartsupply has multiple options * corp overhaul: restart, literature, investore, ui * corp overhaul: nerf advertising * corp overhaul: bunch of stuff
1.6 KiB
1.6 KiB
Product interface
Product in a warehouse
Signature:
interface Product
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| 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 | |
| effRat | number | Effective rating | |
| name | string | Name of the product | |
| pCost | number | Production cost | |
| prod | number | Amount of product produced | |
| properties | { [key: string]: number } | Product Properties. The data is {qlt, per, dur, rel, aes, fea} | |
| qty | number | Amount of product | |
| rat | number | Product Rating | |
| sAmt | string | Sell amount, can be "PROD/2" | |
| sCost | string | Sell cost, can be "MP+5" | |
| sell | number | Amount of product sold |