Adds getAugmentationPrice() and getAugmentationReqRep() Netscript Singularity functions. Deprecates getAugmentationCost() Netscript singularity function.

This commit is contained in:
vmesecher
2021-09-07 20:33:34 -07:00
parent 1c9542d102
commit 6979082be7
10 changed files with 91 additions and 16 deletions

View File

@@ -146,8 +146,10 @@ export const libSource = `interface NS {
getOwnedAugmentations(purchased: boolean): string[];
getOwnedSourceFiles(): any; // complex type
getAugmentationsFromFaction(facname: string): string[];
getAugmentationPrereq(name: string): string[];
getAugmentationCost(name: string): number;
getAugmentationPrereq(name: string): string[];
getAugmentationPrice(name: string): number;
getAugmentationRepReq(name: string): number;
getAugmentationStats(name: string): any; // complex type
purchaseAugmentation(faction: string, name: string): boolean;
softReset(cbScript: string): void;