Home > bitburner > Gang > getEquipmentCost
Get cost of equipment.
Signature:
getEquipmentCost(equipName: string): number;
Parameter | Type | Description |
---|---|---|
equipName | string | Name of equipment. |
Returns:
number
Cost to purchase the specified Equipment/Augmentation (number). Infinity for invalid arguments
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.