0.47.3 patch 2 fix documentation (#810)

This commit is contained in:
hydroflame
2021-03-07 04:37:56 -05:00
committed by GitHub
parent e9dfe3c389
commit 4145ddad39
81 changed files with 132 additions and 94 deletions

View File

@@ -5,6 +5,8 @@ getNodeStats() Netscript Function
.. js:function:: getNodeStats(i)
:RAM cost: 0 GB
:param number i: Index/Identifier of Hacknet Node. :ref:`See here for details <netscript_hacknetnodeapi_referencingahacknetnode>`
Returns an object containing a variety of stats about the specified Hacknet Node::
@@ -20,8 +22,6 @@ getNodeStats() Netscript Function
timeOnline: Number of seconds since Node has been purchased,
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