mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-22 14:12:27 +01:00
21 lines
679 B
ReStructuredText
21 lines
679 B
ReStructuredText
|
travelToCity() Netscript Function
|
||
|
=================================
|
||
|
|
||
|
.. js:function:: travelToCity(cityName)
|
||
|
|
||
|
:param string cityName:
|
||
|
City to travel to. CASE-SENSITIVE.
|
||
|
|
||
|
* Aevum
|
||
|
* Chongqing
|
||
|
* Sector-12
|
||
|
* New Tokyo
|
||
|
* Ishima
|
||
|
* Volhaven
|
||
|
|
||
|
If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function.
|
||
|
|
||
|
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.
|
||
|
|
||
|
This function will return true if you successfully travel to the specified city and false otherwise.
|