mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 07:18:38 +02:00
Update netscript documentation.
Unfortunately, I haven't used most of the specialty APIs yet, so I'm not intimately familiar with where their documentation might be wrong. I figured some fixes were better than no fixes, and I can always make more fixes later. Fixes #1023.
This commit is contained in:
@@ -8,15 +8,19 @@ Netscript Formulas Functions
|
||||
The formulas API allow you to gain insight into the inner workings of the game.
|
||||
These functions will allow you to make more informed decision.
|
||||
|
||||
All of these function cost 0 GB of ram to use. All these function require
|
||||
Source-File 5-1 but some additionally need another source file level 1 to use.
|
||||
The formulas API is unlocked in BitNode-5. If you are in BitNode-5, you will
|
||||
automatically gain access to this API. Otherwise, you must have Source-File 5-1
|
||||
in order to use this API in other BitNodes. Additionally, some functions need
|
||||
another source file level 1 to use.
|
||||
|
||||
All of these function cost 0 GB of ram to use.
|
||||
|
||||
|
||||
basic formulas
|
||||
--------------
|
||||
|
||||
These functions are under the ``formulas.basic.`` name space and available as
|
||||
soon as you acquire Source-File 5-1
|
||||
soon as you enter BitNode-5 or acquire Source-File 5-1.
|
||||
|
||||
.. toctree::
|
||||
calculateSkill() <formulasapi/basic/calculateSkill>
|
||||
@@ -34,7 +38,7 @@ hacknetNodes formulas
|
||||
---------------------
|
||||
|
||||
These functions are under the ``formulas.hacknetNodes.`` namespace and available as
|
||||
soon as you acquire Source-File 5-1.
|
||||
soon as you enter BitNode-5 or acquire Source-File 5-1.
|
||||
|
||||
.. toctree::
|
||||
hacknetNodeCost() <formulasapi/hacknetNodes/hacknetNodeCost>
|
||||
@@ -48,7 +52,8 @@ hacknetServers formulas
|
||||
-----------------------
|
||||
|
||||
These functions are under the ``formulas.hacknetServers.`` namespace.
|
||||
These functions require Source-File 5-1 and Source-File 9-1 to be invoked.
|
||||
These functions require either being in BitNode-5 or having Source-File 5-1, and
|
||||
also require either being in BitNode-9 or having Source-File 9-1 to be invoked.
|
||||
|
||||
.. toctree::
|
||||
hacknetServerCost() <formulasapi/hacknetServers/hacknetServerCost>
|
||||
@@ -58,4 +63,4 @@ These functions require Source-File 5-1 and Source-File 9-1 to be invoked.
|
||||
coreUpgradeCost() <formulasapi/hacknetServers/coreUpgradeCost>
|
||||
cacheUpgradeCost() <formulasapi/hacknetServers/cacheUpgradeCost>
|
||||
hashUpgradeCost() <formulasapi/hacknetServers/hashUpgradeCost>
|
||||
constants() <formulasapi/hacknetServers/constants>
|
||||
constants() <formulasapi/hacknetServers/constants>
|
||||
|
||||
Reference in New Issue
Block a user