mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-29 17:37:34 +01:00
36 lines
972 B
Markdown
36 lines
972 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [purchaseAugmentation](./bitburner.singularity.purchaseaugmentation.md)
|
|
|
|
## Singularity.purchaseAugmentation() method
|
|
|
|
SF4.3 - Purchase an augmentation
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
purchaseAugmentation(faction: string, augmentation: string): boolean;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| faction | string | Name of faction to purchase Augmentation from. |
|
|
| augmentation | string | Name of Augmentation to purchase. |
|
|
|
|
<b>Returns:</b>
|
|
|
|
boolean
|
|
|
|
True if the Augmentation is successfully purchased, and false otherwise.
|
|
|
|
## Remarks
|
|
|
|
RAM cost: 5 GB
|
|
|
|
This function will try to purchase the specified Augmentation through the given Faction.
|
|
|
|
This function will return true if the Augmentation is successfully purchased, and false otherwise.
|
|
|