bitburner-src/doc/source/netscript/sleeveapi/travel.rst

12 lines
403 B
ReStructuredText
Raw Normal View History

2019-03-13 00:05:38 +01:00
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.
2019-03-13 00:05:38 +01:00
Return a boolean indicating whether or not the sleeve reached destination.