mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-30 01:47:33 +01:00
13 lines
475 B
ReStructuredText
13 lines
475 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
|