mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 14:59:16 +02:00
639 B
639 B
Home > bitburner > OfficeAPI > buyCoffee
OfficeAPI.buyCoffee() method
Buy coffee for your employees
Signature:
buyCoffee(divisionName: string, cityName: string): boolean;
Parameters
| Parameter | Type | Description |
|---|---|---|
| divisionName | string | Name of the division |
| cityName | string | Name of the city |
Returns:
boolean
true if buying coffee was successful, false otherwise