mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-30 01:47:33 +01:00
17 lines
382 B
ReStructuredText
17 lines
382 B
ReStructuredText
switchCity() Netscript Function
|
|
===============================
|
|
|
|
.. js:function:: switchCity(cityName)
|
|
|
|
:RAM cost: 4 GB
|
|
:param string cityName: Name of city
|
|
:returns: ``true`` if successful.
|
|
|
|
Attempts to switch to the specified city (for Bladeburner only).
|
|
|
|
Example:
|
|
|
|
.. code-block:: javascript
|
|
|
|
bladeburner.switchCity("Sector-12"); // returns: true
|