NETSCRIPT: added ns.singularity.getAugmentationFactions (#706)

This commit is contained in:
myCatsName
2023-08-05 22:04:36 -06:00
committed by GitHub
parent 9e55d00b4f
commit aed01b0979
5 changed files with 55 additions and 0 deletions

View File

@@ -2103,6 +2103,21 @@ export interface Singularity {
*/
getOwnedSourceFiles(): SourceFileLvl[];
/**
* Get a list of faction(s) that have a specific Augmentation.
* @remarks
* RAM cost: 5 GB * 16/4/1
*
*
* Returns an array containing the names (as strings) of all factions
* that offer the specified Augmentation.
* If no factions offer the Augmentation, a blank array is returned.
*
* @param augName - Name of Augmentation.
* @returns Array containing the names of all factions.
*/
getAugmentationFactions(augName: string): string[];
/**
* Get a list of augmentation available from a faction.
* @remarks