bitburner-src/doc/source/netscript/gangapi/getEquipmentCost.rst
hydroflame e9dfe3c389
v0.47.3 (#808)
* Updated ram cost of documentation

* v0.47.3

Co-authored-by: Samuel A. Lamb <samuei@users.noreply.github.com>
2021-03-07 04:13:37 -05:00

15 lines
496 B
ReStructuredText

getEquipmentCost() Netscript Function
=====================================
.. js:function:: getEquipmentCost(equipName)
:param string equipName: 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
:RAM cost: 2 GB