* Updated ram cost of documentation

* v0.47.3

Co-authored-by: Samuel A. Lamb <samuei@users.noreply.github.com>
This commit is contained in:
hydroflame
2021-03-07 04:13:37 -05:00
committed by GitHub
parent f9162e4d30
commit e9dfe3c389
130 changed files with 18094 additions and 303 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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.

View File

@@ -4,3 +4,5 @@ getPurchaseNodeCost() Netscript Function
.. js:function:: getPurchaseNodeCost()
Returns the cost of purchasing a new Hacknet Node
:RAM cost: 0 GB

View File

@@ -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

View File

@@ -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:

View File

@@ -9,3 +9,5 @@ numHashes() Netscript Function
of a Hacknet Node).
Returns the number of hashes you have
:RAM cost: 0 GB

View File

@@ -4,3 +4,5 @@ numNodes() Netscript Function
.. js:function:: numNodes()
Returns the number of Hacknet Nodes you own.
:RAM cost: 0 GB

View File

@@ -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

View File

@@ -24,3 +24,5 @@ spendHashes() Netscript Function
hacknet.spendHashes("Sell for Corporation Funds");
hacknet.spendHashes("Increase Maximum Money", "foodnstuff");
:RAM cost: 0 GB

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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