bitburner-src/markdown/bitburner.product.md
Olivier Gagnon f555c4567b update doc
2022-04-13 01:35:35 -04:00

1.4 KiB

Home > bitburner > Product

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"