mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-08 16:53:54 +01:00
06a985bdf8
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
974 B
974 B
Home > bitburner > Singularity > purchaseAugmentation
Singularity.purchaseAugmentation() method
Purchase an augmentation
Signature:
purchaseAugmentation(faction: string, augmentation: string): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
faction | string | Name of faction to purchase Augmentation from. |
augmentation | string | Name of Augmentation to purchase. |
Returns:
boolean
True if the Augmentation is successfully purchased, and false otherwise.
Remarks
RAM cost: 5 GB * 16/4/1
This function will try to purchase the specified Augmentation through the given Faction.
This function will return true if the Augmentation is successfully purchased, and false otherwise.