bitburner-src/markdown/bitburner.warehouseapi.makeproduct.md

35 lines
890 B
Markdown
Raw Normal View History

2021-12-09 00:19:30 +01:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [WarehouseAPI](./bitburner.warehouseapi.md) &gt; [makeProduct](./bitburner.warehouseapi.makeproduct.md)
## WarehouseAPI.makeProduct() method
2021-12-09 02:03:22 +01:00
Create a new product
2021-12-09 00:19:30 +01:00
<b>Signature:</b>
```typescript
makeProduct(
divisionName: string,
cityName: string,
productName: string,
designInvest: number,
marketingInvest: number,
): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
2021-12-09 02:03:22 +01:00
| divisionName | string | Name of the division |
| cityName | string | Name of the city |
| productName | string | Name of the product |
| designInvest | number | Amount to invest for the design of the product. |
| marketingInvest | number | Amount to invest for the marketing of the product. |
2021-12-09 00:19:30 +01:00
<b>Returns:</b>
void