mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 09:43:54 +01:00
33 lines
759 B
Markdown
33 lines
759 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [travelToCity](./bitburner.singularity.traveltocity.md)
|
|
|
|
## Singularity.travelToCity() method
|
|
|
|
SF4.1 - Travel to another city.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
travelToCity(city: string): boolean;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| city | string | City to travel to. |
|
|
|
|
<b>Returns:</b>
|
|
|
|
boolean
|
|
|
|
True if actions is successful, false otherwise.
|
|
|
|
## Remarks
|
|
|
|
RAM cost: 2 GB
|
|
|
|
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.
|
|
|