mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 23:08:36 +02:00
v0.47.3 (#808)
* Updated ram cost of documentation * v0.47.3 Co-authored-by: Samuel A. Lamb <samuei@users.noreply.github.com>
This commit is contained in:
@@ -15,3 +15,5 @@ getCacheUpgradeCost() Netscript Function
|
||||
|
||||
If an invalid value for *n* is provided, then this function returns 0. If the
|
||||
specified Hacknet Server is already at the max cache level, then Infinity is returned.
|
||||
|
||||
:RAM cost: 0 GB
|
||||
|
||||
@@ -10,3 +10,5 @@ getCoreUpgradeCost() Netscript Function
|
||||
|
||||
If an invalid value for *n* is provided, then this function returns 0. If the
|
||||
specified Hacknet Node is already at the max number of cores, then Infinity is returned.
|
||||
|
||||
:RAM cost: 0 GB
|
||||
|
||||
@@ -10,3 +10,5 @@ getLevelUpgradeCost() Netscript Function
|
||||
|
||||
If an invalid value for *n* is provided, then this function returns 0. If the
|
||||
specified Hacknet Node is already at max level, then Infinity is returned.
|
||||
|
||||
:RAM cost: 0 GB
|
||||
|
||||
@@ -21,6 +21,8 @@ getNodeStats() Netscript Function
|
||||
totalProduction: Total amount that the Node has produced
|
||||
}
|
||||
|
||||
:RAM cost: 0 GB
|
||||
|
||||
.. note:: Note that for Hacknet Nodes, production refers to the amount of money the node generates.
|
||||
For Hacknet Servers (the upgraded version of Hacknet Nodes), production refers to the amount
|
||||
of hashes the node generates.
|
||||
|
||||
@@ -4,3 +4,5 @@ getPurchaseNodeCost() Netscript Function
|
||||
.. js:function:: getPurchaseNodeCost()
|
||||
|
||||
Returns the cost of purchasing a new Hacknet Node
|
||||
|
||||
:RAM cost: 0 GB
|
||||
|
||||
@@ -10,3 +10,5 @@ getRamUpgradeCost() Netscript Function
|
||||
|
||||
If an invalid value for *n* is provided, then this function returns 0. If the
|
||||
specified Hacknet Node is already at max RAM, then Infinity is returned.
|
||||
|
||||
:RAM cost: 0 GB
|
||||
|
||||
@@ -12,6 +12,8 @@ hashCost() Netscript Function
|
||||
|
||||
Returns the number of hashes required for the specified upgrade. The name of the
|
||||
upgrade must be an exact match.
|
||||
|
||||
:RAM cost: 0 GB
|
||||
|
||||
Example:
|
||||
|
||||
|
||||
@@ -9,3 +9,5 @@ numHashes() Netscript Function
|
||||
of a Hacknet Node).
|
||||
|
||||
Returns the number of hashes you have
|
||||
|
||||
:RAM cost: 0 GB
|
||||
|
||||
@@ -4,3 +4,5 @@ numNodes() Netscript Function
|
||||
.. js:function:: numNodes()
|
||||
|
||||
Returns the number of Hacknet Nodes you own.
|
||||
|
||||
:RAM cost: 0 GB
|
||||
|
||||
@@ -9,3 +9,5 @@ purchaseNode() Netscript Function
|
||||
|
||||
If the player cannot afford to purchase a new Hacknet Node then the function
|
||||
will return -1.
|
||||
|
||||
:RAM cost: 0 GB
|
||||
|
||||
@@ -24,3 +24,5 @@ spendHashes() Netscript Function
|
||||
|
||||
hacknet.spendHashes("Sell for Corporation Funds");
|
||||
hacknet.spendHashes("Increase Maximum Money", "foodnstuff");
|
||||
|
||||
:RAM cost: 0 GB
|
||||
|
||||
@@ -17,3 +17,5 @@ upgradeCache() Netscript Function
|
||||
it purchases some positive amount and the Server reaches its max cache level.
|
||||
|
||||
Returns false otherwise.
|
||||
|
||||
:RAM cost: 0 GB
|
||||
|
||||
@@ -12,3 +12,5 @@ upgradeCore() Netscript Function
|
||||
it purchases some positive amount and the Node reaches its max number of cores.
|
||||
|
||||
Returns false otherwise.
|
||||
|
||||
:RAM cost: 0 GB
|
||||
|
||||
@@ -12,3 +12,5 @@ upgradeLevel() Netscript Function
|
||||
if it is upgraded by some positive amount and the Node reaches its max level.
|
||||
|
||||
Returns false otherwise.
|
||||
|
||||
:RAM cost: 0 GB
|
||||
|
||||
@@ -14,3 +14,5 @@ upgradeRam() Netscript Function
|
||||
it is upgraded some positive number of times and the Node reaches it max RAM.
|
||||
|
||||
Returns false otherwise.
|
||||
|
||||
:RAM cost: 0 GB
|
||||
|
||||
Reference in New Issue
Block a user