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

9 lines
460 B
ReStructuredText
Raw Normal View History

2019-03-23 05:22:40 +01:00
purchaseSleeveAug() Netscript Function
=======================================
.. js:function:: purchaseSleeveAug(sleeveNumber, augName)
:param int sleeveNumber: Index of the sleeve to buy an aug for. See :ref:`here <netscript_sleeveapi_referencingaduplicatesleeve>`
:param string augName: Name of the aug to buy. See :ref:`here <netscript_sleeveapi_referencingaduplicatesleeve>`
Return true if the aug was purchased and installed on the sleeve.