Added getAugmentationPrereq()

This commit is contained in:
havocmayhem 2018-12-30 21:07:23 +05:30 committed by danielyxie
parent 74d7963af9
commit eab21b085c

@ -556,6 +556,20 @@ getAugmentationsFromFaction
Returns an array containing the names (as strings) of all Augmentations that are available from the specified faction. 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 getAugmentationCost
------------------- -------------------