getEquipmentCost() Netscript Function¶
-
getEquipmentCost
(equipName)¶ Arguments: - equipName (string) – Name of equipment
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.
Returns: Cost to purchase the specified Equipment/Augmentation (number). Infinity for invalid arguments