mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 23:53:48 +01:00
fb1f95c26e
See PR #271 description
861 B
861 B
Home > bitburner > Singularity > travelToCity
Singularity.travelToCity() method
Travel to another city.
Signature:
travelToCity(city: CityName | `${CityName}`): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
city | CityName | `${CityName}` | City to travel to. |
Returns:
boolean
True if action is successful, false otherwise.
Remarks
RAM cost: 2 GB * 16/4/1
This function allows the player to travel to any city. The cost for using this function is the same as the cost for traveling through the Travel Agency.