mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-28 03:47:03 +02:00
0518
This commit is contained in:
committed by
hydroflame
parent
9a9d2e1f81
commit
6dde89f3c4
@@ -47,7 +47,7 @@ List of all Source-Files
|
||||
+------------------------------------+-------------------------------------------------------------------------------------+
|
||||
| BitNode-9: Coming Soon | |
|
||||
+------------------------------------+-------------------------------------------------------------------------------------+
|
||||
| BitNode-10: Digital Carbon | * Each level of this grants a Duplicate Sleeve |
|
||||
| BitNode-10: Digital Carbon | * Each level of this grants a Duplicate Sleeve. |
|
||||
| | * Allows the player to access the :ref:`netscript_sleeveapi` in other BitNodes |
|
||||
+------------------------------------+-------------------------------------------------------------------------------------+
|
||||
| BitNode-11: The Big Crash | * Company favor increases both the player's salary and reputation gain at that |
|
||||
|
||||
@@ -323,7 +323,7 @@ Source-File
|
||||
:Max Level: 3
|
||||
|
||||
This Source-File unlocks Sleeve technology in other BitNodes.
|
||||
Each level of this Source-File also grants you a Duplicate Sleeve
|
||||
Each level of this Source-File also grants you a Duplicate Sleeve.
|
||||
|
||||
Difficulty
|
||||
Hard
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
getServer() Netscript Function
|
||||
==========================================
|
||||
|
||||
.. js:function:: getServer()
|
||||
.. js:function:: getServer([hostname])
|
||||
|
||||
:RAM cost: 4 GB
|
||||
:param string hostname: Hostname of the server, defaults to host server.
|
||||
|
||||
If you are not in BitNode-5, then you must have Source-File 5-1 in order to run this function.
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@ getData() Netscript Function
|
||||
|
||||
.. js:function:: getData(filename[, hostname=current hostname])
|
||||
|
||||
:RAM cost: 5 GB
|
||||
:param string filename: Filename of the contract
|
||||
:param string hostname: Hostname of the server containing the contract.
|
||||
Optional. Defaults to current server if not provided
|
||||
|
||||
@@ -20,4 +20,4 @@ growPercent() Netscript Function
|
||||
|
||||
.. code-block:: javascript
|
||||
|
||||
tprint(growPercent(getServer(), 50, getPlayer()))
|
||||
tprint(formulas.basic.growPercent(getServer(), 50, getPlayer()))
|
||||
@@ -21,4 +21,4 @@ growTime() Netscript Function
|
||||
|
||||
server = getServer();
|
||||
server.hackDifficulty = server.minDifficulty;
|
||||
tprint(growTime(server, getPlayer()));
|
||||
tprint(formulas.basic.growTime(server, getPlayer()));
|
||||
@@ -21,4 +21,4 @@ hackChance() Netscript Function
|
||||
|
||||
server = getServer();
|
||||
server.hackDifficulty = server.minDifficulty;
|
||||
tprint(hackChance(server, getPlayer()));
|
||||
tprint(formulas.basic.hackChance(server, getPlayer()));
|
||||
@@ -21,4 +21,4 @@ hackExp() Netscript Function
|
||||
|
||||
server = getServer();
|
||||
server.hackDifficulty = 99.9;
|
||||
tprint(hackExp(server, getPlayer()));
|
||||
tprint(formulas.basic.hackExp(server, getPlayer()));
|
||||
@@ -22,4 +22,4 @@ hackPercent() Netscript Function
|
||||
|
||||
server = getServer();
|
||||
server.hackDifficulty = server.minDifficulty;
|
||||
tprint(hackPercent(server, getPlayer()));
|
||||
tprint(formulas.basic.hackPercent(server, getPlayer()));
|
||||
@@ -21,4 +21,4 @@ hackTime() Netscript Function
|
||||
|
||||
server = getServer();
|
||||
server.hackDifficulty = server.minDifficulty;
|
||||
tprint(hackTime(server, getPlayer()));
|
||||
tprint(formulas.basic.hackTime(server, getPlayer()));
|
||||
@@ -21,4 +21,4 @@ weakenTime() Netscript Function
|
||||
|
||||
server = getServer();
|
||||
server.hackDifficulty = server.minDifficulty;
|
||||
tprint(weakenTime(server, getPlayer()));
|
||||
tprint(formulas.basic.weakenTime(server, getPlayer()));
|
||||
Reference in New Issue
Block a user