mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-28 08:57:32 +01:00
2.2 KiB
2.2 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 | |
stats | { quality: number; performance: number; durability: number; reliability: number; aesthetics: number; features: number; } | Product stats | |
stored | number | Amount of product stored in warehouse |