mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-23 22:52:29 +01:00
32 lines
738 B
Markdown
32 lines
738 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [OfficeAPI](./bitburner.officeapi.md) > [buyTea](./bitburner.officeapi.buytea.md)
|
|
|
|
## OfficeAPI.buyTea() method
|
|
|
|
Buy tea for your employees.
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
buyTea(divisionName: string, city: CityName | `${CityName}`): boolean;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| divisionName | string | Name of the division |
|
|
| city | [CityName](./bitburner.cityname.md) \| \`${[CityName](./bitburner.cityname.md)<!-- -->}\` | Name of the city |
|
|
|
|
**Returns:**
|
|
|
|
boolean
|
|
|
|
true if buying tea was successful, false otherwise
|
|
|
|
## Remarks
|
|
|
|
RAM cost: 20 GB
|
|
|