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

10 lines
418 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. Must be an exact match
2019-03-23 05:22:40 +01:00
Return true if the aug was purchased and installed on the sleeve.