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

732 B

Home > bitburner > OfficeAPI > buyCoffee

OfficeAPI.buyCoffee() method

Buy coffee for your employees

Signature:

buyCoffee(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 coffee was successful, false otherwise