bitburner-src/markdown/bitburner.singularity.traveltocity.md

33 lines
760 B
Markdown
Raw Normal View History

2021-10-30 18:34:14 +02:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Singularity](./bitburner.singularity.md) &gt; [travelToCity](./bitburner.singularity.traveltocity.md)
## Singularity.travelToCity() method
2022-01-16 00:39:37 +01:00
Travel to another city.
2021-10-30 18:34:14 +02:00
<b>Signature:</b>
```typescript
2021-11-03 05:27:21 +01:00
travelToCity(city: string): boolean;
2021-10-30 18:34:14 +02:00
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
2021-11-03 05:27:21 +01:00
| city | string | City to travel to. |
2021-10-30 18:34:14 +02:00
<b>Returns:</b>
boolean
2022-09-23 21:03:38 +02:00
True if action is successful, false otherwise.
2021-10-30 18:34:14 +02:00
## Remarks
2022-01-16 00:39:37 +01:00
RAM cost: 2 GB \* 16/4/1
2021-11-03 05:27:21 +01:00
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.