forked from bitburner-official/bitburner-src
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
54d099e
commit 8adda79
Showing
100 changed files
with
4,974 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [bitburner](./bitburner.md) > [Multipliers](./bitburner.multipliers.md) > [home\_core\_cost](./bitburner.multipliers.home_core_cost.md) | ||
|
||
## Multipliers.home\_core\_cost property | ||
|
||
Multiplier to cost of core upgrade for home | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
home_core_cost: number; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [bitburner](./bitburner.md) > [Multipliers](./bitburner.multipliers.md) > [home\_ram\_cost](./bitburner.multipliers.home_ram_cost.md) | ||
|
||
## Multipliers.home\_ram\_cost property | ||
|
||
Multiplier to cost of ram upgrade for home | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
home_ram_cost: number; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [bitburner](./bitburner.md) > [Multipliers](./bitburner.multipliers.md) > [server\_cost](./bitburner.multipliers.server_cost.md) | ||
|
||
## Multipliers.server\_cost property | ||
|
||
Multiplier to cost of purchasable servers | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
server_cost: number; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [worm](./bitburner.ns.worm.md) | ||
|
||
## NS.worm property | ||
|
||
Namespace for worm functions. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
readonly worm: Worm; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [bitburner](./bitburner.md) > [Player](./bitburner.player.md) > [numContractsSolved](./bitburner.player.numcontractssolved.md) | ||
|
||
## Player.numContractsSolved property | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
numContractsSolved: number; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [bitburner](./bitburner.md) > [Worm](./bitburner.worm.md) > [attemptSolve](./bitburner.worm.attemptsolve.md) | ||
|
||
## Worm.attemptSolve() method | ||
|
||
Attempts to solve the given session with the specified properties. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
attemptSolve(session: number): number | null; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| session | number | The Worm session to be targeted. | | ||
|
||
**Returns:** | ||
|
||
number \| null | ||
|
||
Returns the reward you received. Will return null if solving is on cooldown. | ||
|
||
## Remarks | ||
|
||
RAM cost: 30.4 GB | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [bitburner](./bitburner.md) > [Worm](./bitburner.worm.md) > [createNewSession](./bitburner.worm.createnewsession.md) | ||
|
||
## Worm.createNewSession() method | ||
|
||
Creates a new session. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
createNewSession(): number | null; | ||
``` | ||
**Returns:** | ||
|
||
number \| null | ||
|
||
An identifier for the newly created session. Returns null if you cannot create a new session. | ||
|
||
## Remarks | ||
|
||
RAM cost: 16 GB | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [bitburner](./bitburner.md) > [Worm](./bitburner.worm.md) > [getCompletions](./bitburner.worm.getcompletions.md) | ||
|
||
## Worm.getCompletions() method | ||
|
||
Get the current completion count of the Worm. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
getCompletions(): number; | ||
``` | ||
**Returns:** | ||
|
||
number | ||
|
||
The number of completions. | ||
|
||
## Remarks | ||
|
||
RAM cost: 0.5 GB | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [bitburner](./bitburner.md) > [Worm](./bitburner.worm.md) > [getContractInfluence](./bitburner.worm.getcontractinfluence.md) | ||
|
||
## Worm.getContractInfluence() method | ||
|
||
Get the current multiplier the amount of coding contracts solved has on the Worm processing time. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
getContractInfluence(): number; | ||
``` | ||
**Returns:** | ||
|
||
number | ||
|
||
## Remarks | ||
|
||
RAM cost: 1 GB | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [bitburner](./bitburner.md) > [Worm](./bitburner.worm.md) > [getFinishedSession](./bitburner.worm.getfinishedsession.md) | ||
|
||
## Worm.getFinishedSession() method | ||
|
||
Get a finished session object by its identifier. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
getFinishedSession(session: number): WormSession; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| session | number | | | ||
|
||
**Returns:** | ||
|
||
[WormSession](./bitburner.wormsession.md) | ||
|
||
An object representing the session. | ||
|
||
## Remarks | ||
|
||
RAM cost: 4 GB | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [bitburner](./bitburner.md) > [Worm](./bitburner.worm.md) > [getFinishedSessions](./bitburner.worm.getfinishedsessions.md) | ||
|
||
## Worm.getFinishedSessions() method | ||
|
||
Get all finished sessions. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
getFinishedSessions(): number[]; | ||
``` | ||
**Returns:** | ||
|
||
number\[\] | ||
|
||
An array of sessions. | ||
|
||
## Remarks | ||
|
||
RAM cost: 4 GB | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [bitburner](./bitburner.md) > [Worm](./bitburner.worm.md) > [getSessionLimit](./bitburner.worm.getsessionlimit.md) | ||
|
||
## Worm.getSessionLimit() method | ||
|
||
Get the maximum number of sessions that can be active at a time. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
getSessionLimit(level?: number): number; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| level | number | _(Optional)_ The Source-File level of the Worm Bitnode. | | ||
|
||
**Returns:** | ||
|
||
number | ||
|
||
## Remarks | ||
|
||
RAM cost: 1 GB | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [bitburner](./bitburner.md) > [Worm](./bitburner.worm.md) > [getSessionMaxReward](./bitburner.worm.getsessionmaxreward.md) | ||
|
||
## Worm.getSessionMaxReward() method | ||
|
||
Get the maimum reward possible for a given session. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
getSessionMaxReward(session: number): number; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| session | number | | | ||
|
||
**Returns:** | ||
|
||
number | ||
|
||
The maximum reward possible. Is scaled down depending on how many properties are wrong. | ||
|
||
## Remarks | ||
|
||
RAM cost: 2 GB | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [bitburner](./bitburner.md) > [Worm](./bitburner.worm.md) > [getSessionParams](./bitburner.worm.getsessionparams.md) | ||
|
||
## Worm.getSessionParams() method | ||
|
||
Get the chosen nodes for the node specific properties. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
getSessionParams(session: number): WormParams; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| session | number | The Worm session to be targeted. | | ||
|
||
**Returns:** | ||
|
||
[WormParams](./bitburner.wormparams.md) | ||
|
||
## Remarks | ||
|
||
RAM cost: 1 GB | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [bitburner](./bitburner.md) > [Worm](./bitburner.worm.md) > [getSessionStates](./bitburner.worm.getsessionstates.md) | ||
|
||
## Worm.getSessionStates() method | ||
|
||
Get the current states the Worm has. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
getSessionStates(session: number): string[]; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| session | number | The Worm session to be targeted. | | ||
|
||
**Returns:** | ||
|
||
string\[\] | ||
|
||
All possible states. | ||
|
||
## Remarks | ||
|
||
RAM cost: 1 GB | ||
|
Oops, something went wrong.