diff --git a/doc/source/netscript/netscriptsingularityfunctions.rst b/doc/source/netscript/netscriptsingularityfunctions.rst index e9b3e5f28..d56d09130 100644 --- a/doc/source/netscript/netscriptsingularityfunctions.rst +++ b/doc/source/netscript/netscriptsingularityfunctions.rst @@ -556,6 +556,20 @@ getAugmentationsFromFaction Returns an array containing the names (as strings) of all Augmentations that are available from the specified faction. +getAugmentationPrereq +------------------- + +.. js:function:: getAugmentationPrereq(augName) + + :param string augName: Name of Augmentation. CASE-SENSITIVE + + If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function. + + 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. + + If an invalid Augmentation name is passed in for the *augName* argument, this function will return a blank array. + getAugmentationCost -------------------