bitburner-src/markdown/bitburner.sleeve.purchasesleeveaug.md
Olivier Gagnon feb0430aff work on doc
2021-10-30 15:46:34 -04:00

928 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

RAM cost: 4 GB