Home > bitburner > Bladeburner > switchCity
Travel to another city in Bladeburner.
Signature:
switchCity(city: CityName | `${CityName}`): boolean;
Parameter | Type | Description |
---|---|---|
city | CityName | `${CityName}` | Name of city. Case-sensitive |
Returns:
boolean
true if successful, and false otherwise
RAM cost: 4 GB Attempts to switch to the specified city (for Bladeburner only).
Returns true if successful, and false otherwise