mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 15:43:49 +01:00
Rename lots of reference from old to new repo
This commit is contained in:
parent
cb45034a24
commit
af1a1ac58d
@ -64,7 +64,7 @@ jobs:
|
|||||||
echo "" >> comment.txt
|
echo "" >> comment.txt
|
||||||
echo "Please do not commit files generated by webpack or generated markdown" >> comment.txt
|
echo "Please do not commit files generated by webpack or generated markdown" >> comment.txt
|
||||||
echo "" >> comment.txt
|
echo "" >> comment.txt
|
||||||
echo "See [CONTRIBUTING.md](https://github.com/danielyxie/bitburner/blob/dev/doc/CONTRIBUTING.md) for details." >> comment.txt
|
echo "See [CONTRIBUTING.md](https://github.com/bitburner-official/bitburner-src/blob/dev/doc/CONTRIBUTING.md) for details." >> comment.txt
|
||||||
|
|
||||||
body=$(cat comment.txt)
|
body=$(cat comment.txt)
|
||||||
body="${body//'%'/'%25'}"
|
body="${body//'%'/'%25'}"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
[![Join Discord](https://img.shields.io/discord/415207508303544321)](https://discord.gg/TFc3hKD)
|
[![Join Discord](https://img.shields.io/discord/415207508303544321)](https://discord.gg/TFc3hKD)
|
||||||
|
|
||||||
[![Build Status](https://github.com/danielyxie/bitburner/actions/workflows/ci.yml/badge.svg?branch=dev)](https://github.com/danielyxie/bitburner/actions/workflows/ci.yml)
|
[![Build Status](https://github.com/bitburner-official/bitburner-src/actions/workflows/ci.yml/badge.svg?branch=dev)](https://github.com/bitburner-official/bitburner-src/actions/workflows/ci.yml)
|
||||||
|
|
||||||
Bitburner is a programming-based [incremental game](https://en.wikipedia.org/wiki/Incremental_game)
|
Bitburner is a programming-based [incremental game](https://en.wikipedia.org/wiki/Incremental_game)
|
||||||
that revolves around hacking and cyberpunk themes.
|
that revolves around hacking and cyberpunk themes.
|
||||||
|
4
dist/bitburner.d.ts
vendored
4
dist/bitburner.d.ts
vendored
@ -4805,12 +4805,12 @@ export declare interface NS {
|
|||||||
* @example
|
* @example
|
||||||
* ```ts
|
* ```ts
|
||||||
* // NS1:
|
* // NS1:
|
||||||
* wget("https://raw.githubusercontent.com/danielyxie/bitburner/master/README.md", "game_readme.txt");
|
* wget("https://raw.githubusercontent.com/bitburner-official/bitburner-src/master/README.md", "game_readme.txt");
|
||||||
* ```
|
* ```
|
||||||
* @example
|
* @example
|
||||||
* ```ts
|
* ```ts
|
||||||
* // NS2:
|
* // NS2:
|
||||||
* await ns.wget("https://raw.githubusercontent.com/danielyxie/bitburner/master/README.md", "game_readme.txt");
|
* await ns.wget("https://raw.githubusercontent.com/bitburner-official/bitburner-src/master/README.md", "game_readme.txt");
|
||||||
* ```
|
* ```
|
||||||
* @param url - URL to pull data from.
|
* @param url - URL to pull data from.
|
||||||
* @param target - Filename to write data to. Must be script or text file.
|
* @param target - Filename to write data to. Must be script or text file.
|
||||||
|
@ -13,25 +13,25 @@ heard:
|
|||||||
between all members of the community. Regular players, heavy scripters,
|
between all members of the community. Regular players, heavy scripters,
|
||||||
Bitburner contributors, and everyone in between can be found on the
|
Bitburner contributors, and everyone in between can be found on the
|
||||||
server.
|
server.
|
||||||
- [Github Issues](https://github.com/danielyxie/bitburner/issues).
|
- [Github Issues](https://github.com/bitburner-official/bitburner-src/issues).
|
||||||
Although the term "issues" can have a negative connotation, they are a
|
Although the term "issues" can have a negative connotation, they are a
|
||||||
means of communicating with the community. A new Issue can be an
|
means of communicating with the community. A new Issue can be an
|
||||||
interesting new feature that you feel would improve the game. It could be
|
interesting new feature that you feel would improve the game. It could be
|
||||||
an unexpected behavior within the game. Or because the game is about
|
an unexpected behavior within the game. Or because the game is about
|
||||||
scripting perhaps there is something that is conflicting with the
|
scripting perhaps there is something that is conflicting with the
|
||||||
browser's JavaScript interaction. So please do not be afraid to open a
|
browser's JavaScript interaction. So please do not be afraid to open a
|
||||||
[new Issue](https://github.com/danielyxie/bitburner/issues/new).
|
[new Issue](https://github.com/bitburner-official/bitburner-src/issues/new).
|
||||||
|
|
||||||
## Reporting Bugs
|
## Reporting Bugs
|
||||||
|
|
||||||
The recommended method for reporting a bug is by opening a
|
The recommended method for reporting a bug is by opening a
|
||||||
[Github Issue](https://github.com/danielyxie/bitburner/issues).
|
[Github Issue](https://github.com/bitburner-official/bitburner-src/issues).
|
||||||
|
|
||||||
Alternatively, you can post a bug by creating a post on the
|
Alternatively, you can post a bug by creating a post on the
|
||||||
[game's subreddit](https://www.reddit.com/r/Bitburner/).
|
[game's subreddit](https://www.reddit.com/r/Bitburner/).
|
||||||
|
|
||||||
Before submitting a bug report, please check to make sure the bug has not
|
Before submitting a bug report, please check to make sure the bug has not
|
||||||
already been reported as an [Issue](https://github.com/danielyxie/bitburner/issues).
|
already been reported as an [Issue](https://github.com/bitburner-official/bitburner-src/issues).
|
||||||
|
|
||||||
#### How to Submit a Good Bug Report
|
#### How to Submit a Good Bug Report
|
||||||
|
|
||||||
@ -50,8 +50,8 @@ already been reported as an [Issue](https://github.com/danielyxie/bitburner/issu
|
|||||||
## As a Developer
|
## As a Developer
|
||||||
|
|
||||||
Anyone is welcome to contribute to Bitburner code. However, please read
|
Anyone is welcome to contribute to Bitburner code. However, please read
|
||||||
the [license](https://github.com/danielyxie/bitburner/blob/dev/license.txt)
|
the [license](https://github.com/bitburner-official/bitburner-src/blob/dev/license.txt)
|
||||||
and the [readme](https://github.com/danielyxie/bitburner/blob/dev/README.md)
|
and the [readme](https://github.com/bitburner-official/bitburner-src/blob/dev/README.md)
|
||||||
before doing so.
|
before doing so.
|
||||||
|
|
||||||
To contribute to Bitburner code, you will need to have
|
To contribute to Bitburner code, you will need to have
|
||||||
@ -95,12 +95,12 @@ Clone and fork the game's repository by using one of these methods: web browser,
|
|||||||
Desktop, or command line.
|
Desktop, or command line.
|
||||||
|
|
||||||
- Web browser. Log in to your GitHub account, navigate to the
|
- Web browser. Log in to your GitHub account, navigate to the
|
||||||
[game's repository](https://github.com/danielyxie/bitburner), and fork the
|
[game's repository](https://github.com/bitburner-official/bitburner-src), and fork the
|
||||||
repository. Refer to
|
repository. Refer to
|
||||||
[this page](https://docs.github.com/en/get-started/quickstart/fork-a-repo) for more
|
[this page](https://docs.github.com/en/get-started/quickstart/fork-a-repo) for more
|
||||||
detail.
|
detail.
|
||||||
- GitHub Desktop. Click on `File`, then click `Clone repository`. Click on the `URL`
|
- GitHub Desktop. Click on `File`, then click `Clone repository`. Click on the `URL`
|
||||||
tab and type `danielyxie/bitburner` into the text box for repository URL. Choose
|
tab and type `bitburner-official/bitburner-src` into the text box for repository URL. Choose
|
||||||
the path where you want to clone the repository and click the `Clone` button.
|
the path where you want to clone the repository and click the `Clone` button.
|
||||||
Refer to [this page](https://docs.github.com/en/desktop/contributing-and-collaborating-using-github-desktop/adding-and-cloning-repositories/cloning-and-forking-repositories-from-github-desktop)
|
Refer to [this page](https://docs.github.com/en/desktop/contributing-and-collaborating-using-github-desktop/adding-and-cloning-repositories/cloning-and-forking-repositories-from-github-desktop)
|
||||||
for more detail.
|
for more detail.
|
||||||
@ -108,7 +108,7 @@ Desktop, or command line.
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
# This clones the game's code repository. The output you get might vary.
|
# This clones the game's code repository. The output you get might vary.
|
||||||
$ git clone https://github.com/danielyxie/bitburner.git
|
$ git clone https://github.com/bitburner-official/bitburner-src.git
|
||||||
Cloning into 'bitburner'...
|
Cloning into 'bitburner'...
|
||||||
remote: Enumerating objects: 57072, done.
|
remote: Enumerating objects: 57072, done.
|
||||||
remote: Counting objects: 100% (404/404), done.
|
remote: Counting objects: 100% (404/404), done.
|
||||||
@ -206,7 +206,7 @@ the following rules:
|
|||||||
- Rebase your branch if necessary.
|
- Rebase your branch if necessary.
|
||||||
- Run the game locally to test out your changes.
|
- Run the game locally to test out your changes.
|
||||||
- When submitting the pull request, make sure that the base fork is
|
- When submitting the pull request, make sure that the base fork is
|
||||||
_danielyxie/bitburner_ and the base is _dev_.
|
_bitburner-official/bitburner-src_ and the base is _dev_.
|
||||||
- If your changes affect the game's UI, attach some screenshots or GIFs showing
|
- If your changes affect the game's UI, attach some screenshots or GIFs showing
|
||||||
the changes to the UI.
|
the changes to the UI.
|
||||||
- If your changes affect Netscript, provide some
|
- If your changes affect Netscript, provide some
|
||||||
@ -236,7 +236,7 @@ rules:
|
|||||||
repository](../../../tree/dev).
|
repository](../../../tree/dev).
|
||||||
- Rebase your branch if necessary.
|
- Rebase your branch if necessary.
|
||||||
- When submitting the pull request, make sure that the base fork is
|
- When submitting the pull request, make sure that the base fork is
|
||||||
_danielyxie/bitburner_ and the base is _dev_.
|
_bitburner-official/bitburner-src_ and the base is _dev_.
|
||||||
- Do not check in any generated files under `doc\`. The documentation is built
|
- Do not check in any generated files under `doc\`. The documentation is built
|
||||||
automatically by ReadTheDocs.
|
automatically by ReadTheDocs.
|
||||||
|
|
||||||
|
@ -3,6 +3,6 @@ Hi there, hello
|
|||||||
|
|
||||||
It looks like you found a page that doesn't exist!
|
It looks like you found a page that doesn't exist!
|
||||||
|
|
||||||
If you're looking for documentation of the netscript API. It moved `here <https://github.com/danielyxie/bitburner/blob/dev/markdown/bitburner.ns.md>`_.
|
If you're looking for documentation of the netscript API. It moved `here <https://github.com/bitburner-official/bitburner-src/blob/dev/markdown/bitburner.ns.md>`_.
|
||||||
|
|
||||||
That documentation is autogenerated and therefore is much easier to maintain.
|
That documentation is autogenerated and therefore is much easier to maintain.
|
@ -32,7 +32,7 @@ Nodes are significantly less profitable. Servers have less money on them and low
|
|||||||
growth rates, but it is easier to lower their security level using the weaken() Netscript function.
|
growth rates, but it is easier to lower their security level using the weaken() Netscript function.
|
||||||
|
|
||||||
Furthermore, some BitNodes introduce new content and mechanics. For example there is one
|
Furthermore, some BitNodes introduce new content and mechanics. For example there is one
|
||||||
BitNode that grants access to the `Singularity API <https://github.com/danielyxie/bitburner/blob/dev/markdown/bitburner.singularity.md>`_.
|
BitNode that grants access to the `Singularity API <https://github.com/bitburner-official/bitburner-src/blob/dev/markdown/bitburner.singularity.md>`_.
|
||||||
There is another BitNode in which you can manage a gang to earn money and reputation.
|
There is another BitNode in which you can manage a gang to earn money and reputation.
|
||||||
|
|
||||||
.. _gameplay_bitnodes_howtodestroy:
|
.. _gameplay_bitnodes_howtodestroy:
|
||||||
|
@ -38,11 +38,11 @@ List of all Source-Files
|
|||||||
|| || * Increases all of the player's level and experience gain rate multipliers for |
|
|| || * Increases all of the player's level and experience gain rate multipliers for |
|
||||||
|| || combat stats by 8%/12%/14%. |
|
|| || combat stats by 8%/12%/14%. |
|
||||||
+-------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
+-------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||||
|| BitNode-7: Bladeburners 2079 || * Allows the player to access the `Bladeburner API <https://github.com/danielyxie/bitburner/blob/dev/markdown/bitburner.bladeburner.md>`_ in other BitNodes. |
|
|| BitNode-7: Bladeburners 2079 || * Allows the player to access the `Bladeburner API <https://github.com/bitburner-official/bitburner-src/blob/dev/markdown/bitburner.bladeburner.md>`_ in other BitNodes. |
|
||||||
|| || * Increases all of the player's Bladeburner multipliers by 8%/12%/14%. |
|
|| || * Increases all of the player's Bladeburner multipliers by 8%/12%/14%. |
|
||||||
+-------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
+-------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||||
|| BitNode-8: Ghost of Wall Street || * Increases the player's hacking growth multiplier by 12%/18%/21%. |
|
|| BitNode-8: Ghost of Wall Street || * Increases the player's hacking growth multiplier by 12%/18%/21%. |
|
||||||
|| || * Level 1 grants permanent access to :ref:`WSE <gameplay_stock_market>` and the `TIX API <https://github.com/danielyxie/bitburner/blob/dev/markdown/bitburner.tix.md>`_ |
|
|| || * Level 1 grants permanent access to :ref:`WSE <gameplay_stock_market>` and the `TIX API <https://github.com/bitburner-official/bitburner-src/blob/dev/markdown/bitburner.tix.md>`_ |
|
||||||
|| || * Level 2 grants permanent access to shorting stocks. |
|
|| || * Level 2 grants permanent access to shorting stocks. |
|
||||||
|| || * Level 3 grants permanent access to use limit/stop orders. |
|
|| || * Level 3 grants permanent access to use limit/stop orders. |
|
||||||
+-------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
+-------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||||
@ -52,7 +52,7 @@ List of all Source-Files
|
|||||||
|| || will be lost after installing augments). |
|
|| || will be lost after installing augments). |
|
||||||
+-------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
+-------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||||
|| 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 `Sleeve API <https://github.com/danielyxie/bitburner/blob/dev/markdown/bitburner.sleeve.md>`_ in other BitNodes. |
|
|| || * Allows the player to access the `Sleeve API <https://github.com/bitburner-official/bitburner-src/blob/dev/markdown/bitburner.sleeve.md>`_ in other BitNodes. |
|
||||||
|| || * Grants the player access to the VitaLife secret laboratory in other BitNodes. Also grants access to the Grafting API. |
|
|| || * Grants the player access to the VitaLife secret laboratory in other BitNodes. Also grants access to the Grafting API. |
|
||||||
+-------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
+-------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||||
|| BitNode-11: The Big Crash || * Company favor increases both the player's salary and reputation gain at that |
|
|| BitNode-11: The Big Crash || * Company favor increases both the player's salary and reputation gain at that |
|
||||||
|
@ -7,7 +7,7 @@ exchange for solving programming problems.
|
|||||||
|
|
||||||
Coding Contracts are files with the ".cct" extensions. They can
|
Coding Contracts are files with the ".cct" extensions. They can
|
||||||
be accessed through the :ref:`terminal` or through scripts using
|
be accessed through the :ref:`terminal` or through scripts using
|
||||||
the `Coding Contract API <https://github.com/danielyxie/bitburner/blob/dev/markdown/bitburner.codingcontract.md>`_
|
the `Coding Contract API <https://github.com/bitburner-official/bitburner-src/blob/dev/markdown/bitburner.codingcontract.md>`_
|
||||||
|
|
||||||
Each contract has a limited number of attempts. If you
|
Each contract has a limited number of attempts. If you
|
||||||
provide the wrong answer too many times and exceed the
|
provide the wrong answer too many times and exceed the
|
||||||
@ -31,7 +31,7 @@ an area to provide an answer.
|
|||||||
|
|
||||||
Interacting through Scripts
|
Interacting through Scripts
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
See the `Coding Contract API <https://github.com/danielyxie/bitburner/blob/dev/markdown/bitburner.codingcontract.md>`_.
|
See the `Coding Contract API <https://github.com/bitburner-official/bitburner-src/blob/dev/markdown/bitburner.codingcontract.md>`_.
|
||||||
Interacting with Coding Contracts via the Terminal can be tedious the more
|
Interacting with Coding Contracts via the Terminal can be tedious the more
|
||||||
contracts you solve. Consider using the API to automate various aspects of
|
contracts you solve. Consider using the API to automate various aspects of
|
||||||
your solution. For example, some contracts have long solutions while others
|
your solution. For example, some contracts have long solutions while others
|
||||||
|
@ -180,7 +180,7 @@ Working for a Company
|
|||||||
Automating the Stock Market
|
Automating the Stock Market
|
||||||
---------------------------
|
---------------------------
|
||||||
You can write scripts to perform automatic and algorithmic trading on the Stock Market.
|
You can write scripts to perform automatic and algorithmic trading on the Stock Market.
|
||||||
See `TIX API <https://github.com/danielyxie/bitburner/blob/dev/markdown/bitburner.tix.md>`_ for more details.
|
See `TIX API <https://github.com/bitburner-official/bitburner-src/blob/dev/markdown/bitburner.tix.md>`_ for more details.
|
||||||
|
|
||||||
Under the Hood
|
Under the Hood
|
||||||
--------------
|
--------------
|
||||||
|
@ -573,7 +573,7 @@ Note that will not be possible to download data from many websites because they
|
|||||||
do not allow cross-origin resource sharing (CORS). This includes websites such
|
do not allow cross-origin resource sharing (CORS). This includes websites such
|
||||||
as gist and pastebin. One notable site it will work on is rawgithub. Example::
|
as gist and pastebin. One notable site it will work on is rawgithub. Example::
|
||||||
|
|
||||||
$ wget https://raw.githubusercontent.com/danielyxie/bitburner/master/README.md game_readme.txt
|
$ wget https://raw.githubusercontent.com/bitburner-official/bitburner-src/master/README.md game_readme.txt
|
||||||
|
|
||||||
Argument Parsing
|
Argument Parsing
|
||||||
----------------
|
----------------
|
||||||
|
@ -70,4 +70,4 @@ Bug
|
|||||||
---
|
---
|
||||||
|
|
||||||
Otherwise, the game is probably frozen/stuck due to a bug. To report a bug, follow
|
Otherwise, the game is probably frozen/stuck due to a bug. To report a bug, follow
|
||||||
the guidelines `here <https://github.com/danielyxie/bitburner/blob/master/doc/CONTRIBUTING.md#reporting-bugs>`_.
|
the guidelines `here <https://github.com/bitburner-official/bitburner-src/blob/master/doc/CONTRIBUTING.md#reporting-bugs>`_.
|
||||||
|
@ -481,7 +481,7 @@ Path 1 (new):
|
|||||||
strong because hacking is typically one of the best ways of earning money.
|
strong because hacking is typically one of the best ways of earning money.
|
||||||
|
|
||||||
5. Do **BitNode-4: The Singularity**. Its Source-File does not directly make you
|
5. Do **BitNode-4: The Singularity**. Its Source-File does not directly make you
|
||||||
more powerful in any way, but it does unlock the `Singularity API <https://github.com/danielyxie/bitburner/blob/dev/markdown/bitburner.singularity.md>`_ which
|
more powerful in any way, but it does unlock the `Singularity API <https://github.com/bitburner-official/bitburner-src/blob/dev/markdown/bitburner.singularity.md>`_ which
|
||||||
let you automate significantly more aspects of the game. Consider repeating until Level 3,
|
let you automate significantly more aspects of the game. Consider repeating until Level 3,
|
||||||
since each level decreases the RAM cost of Singularity functions.
|
since each level decreases the RAM cost of Singularity functions.
|
||||||
|
|
||||||
@ -504,7 +504,7 @@ Path 2 (old):
|
|||||||
strong because hacking is typically one of the best ways of earning money.
|
strong because hacking is typically one of the best ways of earning money.
|
||||||
|
|
||||||
3. (Optional) Consider doing **BitNode-4: The Singularity**. Its Source-File does not directly make you
|
3. (Optional) Consider doing **BitNode-4: The Singularity**. Its Source-File does not directly make you
|
||||||
more powerful in any way, but it does unlock the `Singularity API <https://github.com/danielyxie/bitburner/blob/dev/markdown/bitburner.singularity.md>`_ which
|
more powerful in any way, but it does unlock the `Singularity API <https://github.com/bitburner-official/bitburner-src/blob/dev/markdown/bitburner.singularity.md>`_ which
|
||||||
let you automate significantly more aspects of the game.
|
let you automate significantly more aspects of the game.
|
||||||
|
|
||||||
4. Do **BitNode-3: Corporatocracy** once to unlock the Corporation mechanic. This mechanic
|
4. Do **BitNode-3: Corporatocracy** once to unlock the Corporation mechanic. This mechanic
|
||||||
@ -541,12 +541,12 @@ them.
|
|||||||
|
|
||||||
For more scripting/hacking
|
For more scripting/hacking
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
**BitNode-4: The Singularity** unlocks the `Singularity API <https://github.com/danielyxie/bitburner/blob/dev/markdown/bitburner.singularity.md>`_, which
|
**BitNode-4: The Singularity** unlocks the `Singularity API <https://github.com/bitburner-official/bitburner-src/blob/dev/markdown/bitburner.singularity.md>`_, which
|
||||||
can be used to automate many different aspects of the game, including working for factions/companies,
|
can be used to automate many different aspects of the game, including working for factions/companies,
|
||||||
purchasing & installing Augmentations, and creating programs
|
purchasing & installing Augmentations, and creating programs
|
||||||
|
|
||||||
**BitNode-6** and **BitNode-7** unlock Bladeburner and its corresponding
|
**BitNode-6** and **BitNode-7** unlock Bladeburner and its corresponding
|
||||||
`Netscript API <https://github.com/danielyxie/bitburner/blob/dev/markdown/bitburner.bladeburner.md>`_. This allows you to automate an entire
|
`Netscript API <https://github.com/bitburner-official/bitburner-src/blob/dev/markdown/bitburner.bladeburner.md>`_. This allows you to automate an entire
|
||||||
new mechanic.
|
new mechanic.
|
||||||
|
|
||||||
**BitNode-2: Rise of the Underworld** also unlocks a new mechanic and Netscript API for automating
|
**BitNode-2: Rise of the Underworld** also unlocks a new mechanic and Netscript API for automating
|
||||||
|
@ -20,7 +20,7 @@ secrets that you've been searching for.
|
|||||||
:maxdepth: 5
|
:maxdepth: 5
|
||||||
:caption: Contents:
|
:caption: Contents:
|
||||||
|
|
||||||
Full documentation <https://github.com/danielyxie/bitburner/blob/dev/markdown/bitburner.ns.md>
|
Full documentation <https://github.com/bitburner-official/bitburner-src/blob/dev/markdown/bitburner.ns.md>
|
||||||
Basic documentation <netscript>
|
Basic documentation <netscript>
|
||||||
Basic Gameplay <basicgameplay>
|
Basic Gameplay <basicgameplay>
|
||||||
Advanced Gameplay <advancedgameplay>
|
Advanced Gameplay <advancedgameplay>
|
||||||
|
@ -15,7 +15,7 @@ that JavaScript has.
|
|||||||
:maxdepth: 5
|
:maxdepth: 5
|
||||||
:caption: Sections:
|
:caption: Sections:
|
||||||
|
|
||||||
Full documentation <https://github.com/danielyxie/bitburner/blob/dev/markdown/bitburner.ns.md>
|
Full documentation <https://github.com/bitburner-official/bitburner-src/blob/dev/markdown/bitburner.ns.md>
|
||||||
Learn to Program <netscript/netscriptlearntoprogram>
|
Learn to Program <netscript/netscriptlearntoprogram>
|
||||||
Netscript 1.0 <netscript/netscript1>
|
Netscript 1.0 <netscript/netscript1>
|
||||||
NetscriptJS (Netscript 2.0) <netscript/netscriptjs>
|
NetscriptJS (Netscript 2.0) <netscript/netscriptjs>
|
||||||
|
@ -4,7 +4,7 @@ Netscript Basic Functions
|
|||||||
=========================
|
=========================
|
||||||
|
|
||||||
This page contains a subset of functions that are available in Bitburner.
|
This page contains a subset of functions that are available in Bitburner.
|
||||||
For the complete list see https://github.com/danielyxie/bitburner/tree/dev/markdown
|
For the complete list see https://github.com/bitburner-official/bitburner-src/tree/dev/markdown
|
||||||
This includes information such as function signatures, what they do, and their return values.
|
This includes information such as function signatures, what they do, and their return values.
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
|
@ -41,7 +41,7 @@ In NetscriptJS, you must preface any call to wget with the await keyword (like y
|
|||||||
|
|
||||||
```ts
|
```ts
|
||||||
// NS1:
|
// NS1:
|
||||||
wget("https://raw.githubusercontent.com/danielyxie/bitburner/master/README.md", "game_readme.txt");
|
wget("https://raw.githubusercontent.com/bitburner-official/bitburner-src/master/README.md", "game_readme.txt");
|
||||||
```
|
```
|
||||||
|
|
||||||
## Example 2
|
## Example 2
|
||||||
@ -49,6 +49,6 @@ wget("https://raw.githubusercontent.com/danielyxie/bitburner/master/README.md",
|
|||||||
|
|
||||||
```ts
|
```ts
|
||||||
// NS2:
|
// NS2:
|
||||||
await ns.wget("https://raw.githubusercontent.com/danielyxie/bitburner/master/README.md", "game_readme.txt");
|
await ns.wget("https://raw.githubusercontent.com/bitburner-official/bitburner-src/master/README.md", "game_readme.txt");
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
"name": "Daniel Xie & Olivier Gagnon"
|
"name": "Daniel Xie & Olivier Gagnon"
|
||||||
},
|
},
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/danielyxie/bitburner/issues"
|
"url": "https://github.com/bitburner-official/bitburner-src/issues"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@emotion/react": "^11.4.1",
|
"@emotion/react": "^11.4.1",
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
incentive for more threads
|
|
||||||
boosters just multiply output, eg 20% * 1.5 = 30%
|
|
||||||
|
|
||||||
git remote add danielyxie git@github.com:danielyxie/bitburner.git
|
|
@ -1 +0,0 @@
|
|||||||
- https://github.com/danielyxie/bitburner/pull/3812
|
|
@ -241,7 +241,7 @@ export const GameOptionsSidebar = (props: IProps): React.ReactElement => {
|
|||||||
>
|
>
|
||||||
<Button
|
<Button
|
||||||
startIcon={<BugReport />}
|
startIcon={<BugReport />}
|
||||||
href="https://github.com/danielyxie/bitburner/issues/new"
|
href="https://github.com/bitburner-official/bitburner-src/issues/new"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
sx={{ gridArea: "bug" }}
|
sx={{ gridArea: "bug" }}
|
||||||
>
|
>
|
||||||
|
@ -770,7 +770,7 @@ function createBetaUpdateText(): void {
|
|||||||
dialogBoxCreate(
|
dialogBoxCreate(
|
||||||
"You are playing on the beta environment! This branch of the game " +
|
"You are playing on the beta environment! This branch of the game " +
|
||||||
"features the latest developments in the game. This version may be unstable.\n" +
|
"features the latest developments in the game. This version may be unstable.\n" +
|
||||||
"Please report any bugs/issues through the github repository (https://github.com/danielyxie/bitburner/issues) " +
|
"Please report any bugs/issues through the github repository (https://github.com/bitburner-official/bitburner-src/issues) " +
|
||||||
"or the Bitburner subreddit (reddit.com/r/bitburner).\n\n" +
|
"or the Bitburner subreddit (reddit.com/r/bitburner).\n\n" +
|
||||||
CONSTANTS.LatestUpdate,
|
CONSTANTS.LatestUpdate,
|
||||||
);
|
);
|
||||||
|
4
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
4
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@ -6731,12 +6731,12 @@ export interface NS {
|
|||||||
* @example
|
* @example
|
||||||
* ```ts
|
* ```ts
|
||||||
* // NS1:
|
* // NS1:
|
||||||
* wget("https://raw.githubusercontent.com/danielyxie/bitburner/master/README.md", "game_readme.txt");
|
* wget("https://raw.githubusercontent.com/bitburner-official/bitburner-src/master/README.md", "game_readme.txt");
|
||||||
* ```
|
* ```
|
||||||
* @example
|
* @example
|
||||||
* ```ts
|
* ```ts
|
||||||
* // NS2:
|
* // NS2:
|
||||||
* await ns.wget("https://raw.githubusercontent.com/danielyxie/bitburner/master/README.md", "game_readme.txt");
|
* await ns.wget("https://raw.githubusercontent.com/bitburner-official/bitburner-src/master/README.md", "game_readme.txt");
|
||||||
* ```
|
* ```
|
||||||
* @param url - URL to pull data from.
|
* @param url - URL to pull data from.
|
||||||
* @param target - Filename to write data to. Must be script or text file.
|
* @param target - Filename to write data to. Must be script or text file.
|
||||||
|
@ -910,7 +910,10 @@ export function Root(props: IProps): React.ReactElement {
|
|||||||
Basic
|
Basic
|
||||||
</Link>
|
</Link>
|
||||||
{" | "}
|
{" | "}
|
||||||
<Link target="_blank" href="https://github.com/danielyxie/bitburner/blob/dev/markdown/bitburner.ns.md">
|
<Link
|
||||||
|
target="_blank"
|
||||||
|
href="https://github.com/bitburner-official/bitburner-src/blob/dev/markdown/bitburner.ns.md"
|
||||||
|
>
|
||||||
Full
|
Full
|
||||||
</Link>
|
</Link>
|
||||||
</Typography>
|
</Typography>
|
||||||
|
@ -477,7 +477,7 @@ export const HelpTexts: Record<string, string[]> = {
|
|||||||
"Note that it will not be possible to download data from many websites because they do not allow ",
|
"Note that it will not be possible to download data from many websites because they do not allow ",
|
||||||
"cross-origin resource sharing (CORS). Example:",
|
"cross-origin resource sharing (CORS). Example:",
|
||||||
" ",
|
" ",
|
||||||
" wget https://raw.githubusercontent.com/danielyxie/bitburner/master/README.md game_readme.txt",
|
" wget https://raw.githubusercontent.com/bitburner-official/bitburner-src/master/README.md game_readme.txt",
|
||||||
" ",
|
" ",
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
@ -7,7 +7,7 @@ export function ThemeCollaborate(): React.ReactElement {
|
|||||||
<>
|
<>
|
||||||
<Typography sx={{ my: 1 }}>
|
<Typography sx={{ my: 1 }}>
|
||||||
If you've created a theme that you believe should be added in game's theme browser, feel free to{" "}
|
If you've created a theme that you believe should be added in game's theme browser, feel free to{" "}
|
||||||
<Link href="https://github.com/danielyxie/bitburner/tree/dev/src/Themes/README.md" target="_blank">
|
<Link href="https://github.com/bitburner-official/bitburner-src/tree/dev/src/Themes/README.md" target="_blank">
|
||||||
create a pull request
|
create a pull request
|
||||||
</Link>
|
</Link>
|
||||||
.
|
.
|
||||||
|
@ -123,7 +123,7 @@ export function TutorialRoot(props: IProps): React.ReactElement {
|
|||||||
<Link
|
<Link
|
||||||
color="primary"
|
color="primary"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
href="https://github.com/danielyxie/bitburner/blob/dev/markdown/bitburner.ns.md"
|
href="https://github.com/bitburner-official/bitburner-src/blob/dev/markdown/bitburner.ns.md"
|
||||||
>
|
>
|
||||||
<Typography>Complete list of functions</Typography>
|
<Typography>Complete list of functions</Typography>
|
||||||
</Link>
|
</Link>
|
||||||
|
@ -52,7 +52,7 @@ export interface IErrorData {
|
|||||||
issueUrl: string;
|
issueUrl: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const newIssueUrl = `https://github.com/danielyxie/bitburner/issues/new`;
|
export const newIssueUrl = `https://github.com/bitburner-official/bitburner-src/issues/new`;
|
||||||
|
|
||||||
function getErrorMetadata(error: Error, errorInfo?: React.ErrorInfo, page?: Page): IErrorMetadata {
|
function getErrorMetadata(error: Error, errorInfo?: React.ErrorInfo, page?: Page): IErrorMetadata {
|
||||||
const isElectron = navigator.userAgent.toLowerCase().indexOf(" electron/") > -1;
|
const isElectron = navigator.userAgent.toLowerCase().indexOf(" electron/") > -1;
|
||||||
|
@ -20,12 +20,15 @@ export const V2Modal = (): React.ReactElement => {
|
|||||||
</Typography>{" "}
|
</Typography>{" "}
|
||||||
<Typography>
|
<Typography>
|
||||||
You should also take a look at{" "}
|
You should also take a look at{" "}
|
||||||
<a target="_" href="https://github.com/danielyxie/bitburner/blob/dev/doc/source/v2.0.0_migration.rst">
|
<a
|
||||||
|
target="_"
|
||||||
|
href="https://github.com/bitburner-official/bitburner-src/blob/dev/doc/source/v2.0.0_migration.rst"
|
||||||
|
>
|
||||||
{" "}
|
{" "}
|
||||||
the migration guide
|
the migration guide
|
||||||
</a>{" "}
|
</a>{" "}
|
||||||
as well as{" "}
|
as well as{" "}
|
||||||
<a target="_" href="https://github.com/danielyxie/bitburner/blob/dev/doc/source/changelog.rst">
|
<a target="_" href="https://github.com/bitburner-official/bitburner-src/blob/dev/doc/source/changelog.rst">
|
||||||
the changelog
|
the changelog
|
||||||
</a>
|
</a>
|
||||||
</Typography>
|
</Typography>
|
||||||
|
Loading…
Reference in New Issue
Block a user