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

12 lines
439 B
ReStructuredText
Raw Normal View History

2019-03-23 05:22:40 +01:00
purchaseSleeveAug() Netscript Function
=======================================
.. js:function:: purchaseSleeveAug(sleeveNumber, augName)
:RAM cost: 4 GB
2019-03-23 05:22:40 +01:00
: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.