mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 23:08:36 +02:00
MISC: Change how enums are exposed in NetscriptDefinitions.d.ts (#1998)
This commit is contained in:
@@ -9,12 +9,7 @@ Limit material production.
|
||||
**Signature:**
|
||||
|
||||
```typescript
|
||||
limitMaterialProduction(
|
||||
divisionName: string,
|
||||
city: CityName | `${CityName}`,
|
||||
materialName: string,
|
||||
qty: number,
|
||||
): void;
|
||||
limitMaterialProduction(divisionName: string, city: CityName, materialName: string, qty: number): void;
|
||||
```
|
||||
|
||||
## Parameters
|
||||
@@ -22,7 +17,7 @@ limitMaterialProduction(
|
||||
| Parameter | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| divisionName | string | Name of the division. |
|
||||
| city | [CityName](./bitburner.cityname.md) \| \`${[CityName](./bitburner.cityname.md)<!-- -->}\` | Name of the city. |
|
||||
| city | [CityName](./bitburner.cityname.md) | Name of the city. |
|
||||
| materialName | string | Name of the material. |
|
||||
| qty | number | Amount to limit to. Pass a negative value to remove the limit instead. |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user