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

20 lines
566 B
ReStructuredText
Raw Normal View History

2019-03-23 05:22:40 +01:00
getSleevePurchasableAugs() Netscript Function
=============================================
2019-03-23 05:22:40 +01:00
.. js:function:: getSleevePurchasableAugs(sleeveNumber)
:param int sleeveNumber: Index of the sleeve to retrieve purchasable augmentations from. See :ref:`here <netscript_sleeveapi_referencingaduplicatesleeve>`
Return a list of augmentations that the player can buy for this sleeve.
:RAM cost: 4 GB
2019-03-23 05:22:40 +01:00
.. code-block:: javascript
[
{
name: string, // augmentation name
cost: number, // augmentation cost
}
]