mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 15:43:49 +01:00
33 lines
836 B
Markdown
33 lines
836 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [OfficeAPI](./bitburner.officeapi.md) > [throwParty](./bitburner.officeapi.throwparty.md)
|
|
|
|
## OfficeAPI.throwParty() method
|
|
|
|
Throw a party for your employees.
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
throwParty(divisionName: string, city: CityName | `${CityName}`, costPerEmployee: number): number;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| divisionName | string | Name of the division |
|
|
| city | [CityName](./bitburner.cityname.md) \| \`${[CityName](./bitburner.cityname.md)<!-- -->}\` | Name of the city |
|
|
| costPerEmployee | number | Amount to spend per employee. |
|
|
|
|
**Returns:**
|
|
|
|
number
|
|
|
|
Multiplier for morale, or zero on failure
|
|
|
|
## Remarks
|
|
|
|
RAM cost: 20 GB
|
|
|