bitburner-src/markdown/bitburner.sleeve.purchasesleeveaug.md
Olivier Gagnon 43fc5dfd48 work on doc
2021-10-30 12:34:14 -04:00

918 B

Home > bitburner > Sleeve > purchaseSleeveAug

Sleeve.purchaseSleeveAug() method

If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.

Return true if the aug was purchased and installed on the sleeve.

Signature:

purchaseSleeveAug(sleeveNumber: number, augName: AugmentName): boolean;

Parameters

Parameter Type Description
sleeveNumber number Index of the sleeve to buy an aug for.
augName AugmentName Name of the aug to buy. Must be an exact match.

Returns:

boolean

True if the aug was purchased and installed on the sleeve, false otherwise.

Remarks

4 GB