mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-23 06:32:26 +01:00
1006 B
1006 B
Home > bitburner > Gang > getEquipmentCost
Gang.getEquipmentCost() method
If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.
Get the amount of money it takes to purchase a piece of Equipment or an Augmentation. If an invalid Equipment/Augmentation is specified, this function will return Infinity.
Signature:
getEquipmentCost(equipName: GangEquipment | GangAugmentations): number;
Parameters
Parameter | Type | Description |
---|---|---|
equipName | GangEquipment | GangAugmentations | Name of equipment. |
Returns:
number
Cost to purchase the specified Equipment/Augmentation (number). Infinity for invalid arguments
Remarks
RAM cost: 2 GB