mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-23 06:32:26 +01:00
928 B
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