mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 06:18:42 +02:00
2.3 KiB
2.3 KiB
Product interface
Product in a warehouse
Signature:
interface Product
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| actualSellAmount | number | Amount of product sold last cycle | |
| advertisingInvestment | number | Funds that were spent on advertising the product | |
| competition | number | undefined | Competition for the product, only present if "Market Research - Competition" unlocked | |
| demand | number | undefined | Demand for the product, only present if "Market Research - Demand" unlocked | |
| designInvestment | number | Funds that were spent on designing the product | |
| desiredSellAmount | string | number | Desired sell amount, e.g. "PROD/2" | |
| desiredSellPrice | string | number | Desired sell price, can be "MP+5" | |
| developmentProgress | number | A number between 0-100 representing percentage completion | |
| effectiveRating | number | Effective rating in the specific city | |
| name | string | Name of the product | |
| productionAmount | number | Amount of product produced last cycle | |
| productionCost | number | Production cost | |
| rating | number | Rating based on stats | |
| size | number | How much warehouse space is occupied per unit of this product | |
| stats | { quality: number; performance: number; durability: number; reliability: number; aesthetics: number; features: number; } | Product stats | |
| stored | number | Amount of product stored in warehouse |