This commit is contained in:
Olivier Gagnon
2021-11-03 00:27:21 -04:00
parent 37845c57c0
commit 2b79871c02
299 changed files with 3861 additions and 7125 deletions

View File

@@ -4,24 +4,20 @@
## Singularity.purchaseAugmentation() method
If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.
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.
Purchase an augmentation
<b>Signature:</b>
```typescript
purchaseAugmentation(faction: FactionName, augmnet: AugmentName): boolean;
purchaseAugmentation(faction: string, augmentation: string): boolean;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| faction | [FactionName](./bitburner.factionname.md) | Name of faction to purchase Augmentation from. |
| augmnet | [AugmentName](./bitburner.augmentname.md) | Name of Augmentation to purchase. |
| faction | string | Name of faction to purchase Augmentation from. |
| augmentation | string | Name of Augmentation to purchase. |
<b>Returns:</b>
@@ -31,5 +27,11 @@ True if the Augmentation is successfully purchased, and false otherwise.
## Remarks
RAM cost: 5 GB
Singularity - Level 3
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.