mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 23:53:48 +01:00
06a985bdf8
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
813 B
813 B
Home > bitburner > Gang > getEquipmentCost
Gang.getEquipmentCost() method
Get cost of equipment.
Signature:
getEquipmentCost(equipName: string): number;
Parameters
Parameter | Type | Description |
---|---|---|
equipName | string | Name of equipment. |
Returns:
number
Cost to purchase the specified Equipment/Augmentation (number). Infinity for invalid arguments
Remarks
RAM cost: 2 GB
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.