bitburner-src/markdown/bitburner.officeapi.throwparty.md
2022-12-29 20:28:53 -05:00

29 lines
826 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [OfficeAPI](./bitburner.officeapi.md) &gt; [throwParty](./bitburner.officeapi.throwparty.md)
## OfficeAPI.throwParty() method
Throw a party for your employees
<b>Signature:</b>
```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. |
<b>Returns:</b>
number
Multiplier for happiness and morale, or zero on failure