mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-14 03:33:52 +01:00
33 lines
1.0 KiB
Markdown
33 lines
1.0 KiB
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [getAugmentationPrereq](./bitburner.singularity.getaugmentationprereq.md)
|
||
|
|
||
|
## Singularity.getAugmentationPrereq() 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 returns an array with the names of the prerequisite Augmentation(s) for the specified Augmentation. If there are no prerequisites, a blank array is returned.
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
getAugmentationPrereq(augName: AugmentName): AugmentName[];
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| augName | [AugmentName](./bitburner.augmentname.md) | Name of Augmentation. |
|
||
|
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
[AugmentName](./bitburner.augmentname.md)<!-- -->\[\]
|
||
|
|
||
|
Array with the names of the prerequisite Augmentation(s) for the specified Augmentation.
|
||
|
|
||
|
## Remarks
|
||
|
|
||
|
5 GB Level 3
|
||
|
|