bitburner-src/markdown/bitburner.singularity.getaugmentationprereq.md

882 B

Home > bitburner > Singularity > getAugmentationPrereq

Singularity.getAugmentationPrereq() method

Get the pre-requisite of an augmentation.

Signature:

getAugmentationPrereq(augName: string): string[];

Parameters

Parameter Type Description
augName string Name of Augmentation.

Returns:

string[]

Array with the names of the prerequisite Augmentation(s) for the specified Augmentation.

Remarks

RAM cost: 5 GB * 16/4/1

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.