mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-17 13:13:49 +01:00
815 B
815 B
Home > bitburner > Bladeburner > switchCity
Bladeburner.switchCity() method
Travel to another city in Bladeburner.
Signature:
switchCity(city: CityName | `${CityName}`): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
city | CityName | `${CityName}` | Name of city. Case-sensitive |
Returns:
boolean
true if successful, and false otherwise
Remarks
RAM cost: 4 GB Attempts to switch to the specified city (for Bladeburner only).
Returns true if successful, and false otherwise