Update netscriptbladeburnerapi.rst

fix typos
This commit is contained in:
Pimvgd 2021-05-01 17:34:55 +02:00 committed by GitHub
parent 77cb63e36a
commit 3eecff1de6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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");