mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 15:43:49 +01:00
Update netscriptbladeburnerapi.rst
fix typos
This commit is contained in:
parent
77cb63e36a
commit
3eecff1de6
@ -5,13 +5,13 @@ Netscript Bladeburner API
|
|||||||
Netscript provides the following API for interacting with the game's Bladeburner mechanic.
|
Netscript provides the following API for interacting with the game's Bladeburner mechanic.
|
||||||
|
|
||||||
The Bladeburner API is **not** immediately available to the player and must be unlocked
|
The Bladeburner API is **not** immediately available to the player and must be unlocked
|
||||||
later in the game
|
later in the game.
|
||||||
|
|
||||||
.. warning:: This page contains spoilers for the game
|
.. warning:: This page contains spoilers for the game
|
||||||
|
|
||||||
The Bladeburner API is unlocked in BitNode-7. If you are in BitNode-7, you will
|
The Bladeburner API is unlocked in BitNode-7. If you are in BitNode-7, you will
|
||||||
automatically gain access to this API. Otherwise, you must have Source-File 7 in
|
automatically gain access to this API. Otherwise, you must have Source-File 7 in
|
||||||
order to use this API in other BitNodes
|
order to use this API in other BitNodes.
|
||||||
|
|
||||||
**Bladeburner API functions must be accessed through the 'bladeburner' namespace**
|
**Bladeburner API functions must be accessed through the 'bladeburner' namespace**
|
||||||
|
|
||||||
@ -157,7 +157,7 @@ identifier by attaching the Bladeburner API functions to an object::
|
|||||||
}
|
}
|
||||||
|
|
||||||
BladeburnerHandler.prototype.handle = function() {
|
BladeburnerHandler.prototype.handle = function() {
|
||||||
//If we're doing something else manually (without Simlacrum),
|
//If we're doing something else manually (without Simulacrum),
|
||||||
//it overrides Bladeburner stuff
|
//it overrides Bladeburner stuff
|
||||||
if (!this.hasSimulacrum() && this.ns.isBusy()) {
|
if (!this.hasSimulacrum() && this.ns.isBusy()) {
|
||||||
this.ns.print("Idling bc player is busy with some other action");
|
this.ns.print("Idling bc player is busy with some other action");
|
||||||
|
Loading…
Reference in New Issue
Block a user