2022-10-21 17:16:00 +02:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Product](./bitburner.product.md)
|
|
|
|
|
|
|
|
## Product interface
|
|
|
|
|
|
|
|
Product in a warehouse
|
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
**Signature:**
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
```typescript
|
|
|
|
interface Product
|
|
|
|
```
|
|
|
|
|
|
|
|
## Properties
|
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
| Property | Modifiers | Type | Description |
|
|
|
|
| --- | --- | --- | --- |
|
|
|
|
| [cmp](./bitburner.product.cmp.md) | | number \| undefined | Competition for the product, only present if "Market Research - Competition" unlocked |
|
|
|
|
| [developmentProgress](./bitburner.product.developmentprogress.md) | | number | Creation progress - A number between 0-100 representing percentage |
|
|
|
|
| [dmd](./bitburner.product.dmd.md) | | number \| undefined | Demand for the product, only present if "Market Research - Demand" unlocked |
|
2023-03-18 02:12:43 +01:00
|
|
|
| [effRat](./bitburner.product.effrat.md) | | number | Effective rating |
|
2023-02-11 19:18:50 +01:00
|
|
|
| [name](./bitburner.product.name.md) | | string | Name of the product |
|
|
|
|
| [pCost](./bitburner.product.pcost.md) | | number | Production cost |
|
2023-03-18 02:12:43 +01:00
|
|
|
| [prod](./bitburner.product.prod.md) | | number | Amount of product produced |
|
2023-02-11 19:18:50 +01:00
|
|
|
| [properties](./bitburner.product.properties.md) | | { \[key: string\]: number } | Product Properties. The data is {<!-- -->qlt, per, dur, rel, aes, fea<!-- -->} |
|
2023-03-18 02:12:43 +01:00
|
|
|
| [qty](./bitburner.product.qty.md) | | number | Amount of product |
|
2023-02-11 19:18:50 +01:00
|
|
|
| [rat](./bitburner.product.rat.md) | | number | Product Rating |
|
2023-03-18 02:12:43 +01:00
|
|
|
| [sAmt](./bitburner.product.samt.md) | | string | Sell amount, can be "PROD/2" |
|
|
|
|
| [sCost](./bitburner.product.scost.md) | | string | Sell cost, can be "MP+5" |
|
|
|
|
| [sell](./bitburner.product.sell.md) | | number | Amount of product sold |
|
2022-10-21 17:16:00 +02:00
|
|
|
|