bitburner-src/markdown/bitburner.officeapi.buytea.md

738 B

Home > bitburner > OfficeAPI > buyTea

OfficeAPI.buyTea() method

Buy tea for your employees.

Signature:

buyTea(divisionName: string, city: CityName | `${CityName}`): boolean;

Parameters

Parameter Type Description
divisionName string Name of the division
city CityName | `${CityName}` Name of the city

Returns:

boolean

true if buying tea was successful, false otherwise

Remarks

RAM cost: 20 GB