mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-23 14:42:28 +01:00
1.9 KiB
1.9 KiB
Product interface
Product in a warehouse
Signature:
interface Product
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
actualSellAmount | number | Amount of product sold last cycle | |
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 | |
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 | |
stats | { quality: number; performance: number; durability: number; reliability: number; aesthetics: number; features: number; } | Product stats | |
stored | number | Amount of product stored in warehouse |