added sleeve aug api

This commit is contained in:
Olivier Gagnon
2019-03-23 00:22:40 -04:00
parent 4bdb34bc7b
commit 96db360a36
8 changed files with 150 additions and 26 deletions
@@ -0,0 +1,9 @@
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.