bitburner-src/doc/source/netscript/gangapi/getEquipmentCost.rst

12 lines
489 B
ReStructuredText
Raw Normal View History

getEquipmentCost() Netscript Function
=====================================
.. js:function:: getEquipmentCost(equipName)
:RAM cost: 2 GB
:param string equipName: Name of equipment
2021-03-12 08:51:56 +01:00
:returns: Cost to purchase the specified Equipment/Augmentation (number).
Infinity for invalid arguments.
Get the amount of money it takes to purchase a piece of Equipment or an Augmentation.
2021-03-12 08:51:56 +01:00
If an invalid Equipment/Augmentation is specified, this function will return Infinity.