bitburner-src/doc/source/netscript/singularityfunctions/travelToCity.rst
2021-03-07 04:37:56 -05:00

23 lines
700 B
ReStructuredText

travelToCity() Netscript Function
=================================
.. js:function:: travelToCity(cityName)
:RAM cost: 2 GB
: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.