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

12 lines
403 B
ReStructuredText

travel() Netscript Function
=======================================
.. js:function:: travel(sleeveNumber, cityName)
:RAM cost: 4 GB
:param int sleeveNumber: Index of the sleeve to travel. See :ref:`here <netscript_sleeveapi_referencingaduplicatesleeve>`
:param string cityName: Name of the destination city.
Return a boolean indicating whether or not the sleeve reached destination.