This commit is contained in:
Olivier Gagnon
2022-01-18 14:02:12 -05:00
parent c5089ab82a
commit 05cbc25a8f
36 changed files with 355 additions and 178 deletions

View File

@@ -28,5 +28,5 @@ Parameter that affects the percentage by which the servers money is increased
RAM cost: 0.1 GB
Returns the servers instrinsic “growth parameter”. This growth parameter is a number between 0 and 100 that represents how quickly the servers money grows. This parameter affects the percentage by which the servers money is increased when using the grow function. A higher growth parameter will result in a higher percentage increase from grow.
Returns the servers intrinsic “growth parameter”. This growth parameter is a number typically between 0 and 100 that represents how quickly the servers money grows. This parameter affects the percentage by which the servers money is increased when using the grow function. A higher growth parameter will result in a higher percentage increase from grow.

View File

@@ -0,0 +1,21 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [NS](./bitburner.ns.md) &gt; [getSharePower](./bitburner.ns.getsharepower.md)
## NS.getSharePower() method
Calculate your share power.
<b>Signature:</b>
```typescript
getSharePower(): number;
```
<b>Returns:</b>
number
## Remarks
RAM cost: 0.2 GB

View File

@@ -107,6 +107,7 @@ export async function main(ns) {
| [getServerRequiredHackingLevel(host)](./bitburner.ns.getserverrequiredhackinglevel.md) | Returns the required hacking level of the target server. |
| [getServerSecurityLevel(host)](./bitburner.ns.getserversecuritylevel.md) | Get server security level. |
| [getServerUsedRam(host)](./bitburner.ns.getserverusedram.md) | Get the used RAM on a server. |
| [getSharePower()](./bitburner.ns.getsharepower.md) | Calculate your share power. |
| [getTimeSinceLastAug()](./bitburner.ns.gettimesincelastaug.md) | Returns the amount of time in milliseconds that have passed since you last installed Augmentations. |
| [getWeakenTime(host)](./bitburner.ns.getweakentime.md) | Get the execution time of a weaken() call. |
| [grow(host, opts)](./bitburner.ns.grow.md) | Spoof money in a servers bank account, increasing the amount available. |
@@ -144,6 +145,7 @@ export async function main(ns) {
| [scriptKill(script, host)](./bitburner.ns.scriptkill.md) | Kill all scripts with a filename. |
| [scriptRunning(script, host)](./bitburner.ns.scriptrunning.md) | Check if any script with a filename is running. |
| [serverExists(host)](./bitburner.ns.serverexists.md) | Returns a boolean denoting whether or not the specified server exists. |
| [share()](./bitburner.ns.share.md) | Share your computer with your factions. Increasing your rep gain for a short duration. |
| [sleep(millis)](./bitburner.ns.sleep.md) | Suspends the script for n milliseconds. |
| [spawn(script, numThreads, args)](./bitburner.ns.spawn.md) | Terminate current script and start another in 10s. |
| [sprintf(format, args)](./bitburner.ns.sprintf.md) | Format a string. |

View File

@@ -0,0 +1,21 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [NS](./bitburner.ns.md) &gt; [share](./bitburner.ns.share.md)
## NS.share() method
Share your computer with your factions. Increasing your rep gain for a short duration.
<b>Signature:</b>
```typescript
share(): Promise<void>;
```
<b>Returns:</b>
Promise&lt;void&gt;
## Remarks
RAM cost: 2.4 GB

View File

@@ -19,5 +19,5 @@ List of active fragments placed on Stanek's Gift.
## Remarks
RAM cost: cost: 5 GB
RAM cost: 5 GB

View File

@@ -29,5 +29,5 @@ true if the fragment can be placed at that position. false otherwise.
## Remarks
RAM cost: cost: 0.5 GB
RAM cost: 0.5 GB

View File

@@ -17,5 +17,5 @@ void
## Remarks
RAM cost: cost: 0 GB
RAM cost: 0 GB

View File

@@ -19,5 +19,5 @@ List of possible fragments.
## Remarks
RAM cost: cost: 0 GB
RAM cost: 0 GB

View File

@@ -27,5 +27,5 @@ The fragment at \[rootX, rootY\], if any.
## Remarks
RAM cost: cost: 5 GB
RAM cost: 5 GB

View File

@@ -29,5 +29,5 @@ true if the fragment can be placed at that position. false otherwise.
## Remarks
RAM cost: cost: 5 GB
RAM cost: 5 GB

View File

@@ -27,5 +27,5 @@ The fragment at \[rootX, rootY\], if any.
## Remarks
RAM cost: cost: 0.15 GB
RAM cost: 0.15 GB

View File

@@ -0,0 +1,21 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [UserInterface](./bitburner.userinterface.md) &gt; [getGameInfo](./bitburner.userinterface.getgameinfo.md)
## UserInterface.getGameInfo() method
Gets the current game information (version, commit, ...)
<b>Signature:</b>
```typescript
getGameInfo(): GameInfo;
```
<b>Returns:</b>
GameInfo
## Remarks
RAM cost: 0 GB

View File

@@ -19,5 +19,5 @@ An object containing the player's styles
## Remarks
RAM cost: cost: 0 GB
RAM cost: 0 GB

View File

@@ -19,5 +19,5 @@ An object containing the theme's colors
## Remarks
RAM cost: cost: 0 GB
RAM cost: 0 GB

View File

@@ -16,6 +16,7 @@ interface UserInterface
| Method | Description |
| --- | --- |
| [getGameInfo()](./bitburner.userinterface.getgameinfo.md) | Gets the current game information (version, commit, ...) |
| [getStyles()](./bitburner.userinterface.getstyles.md) | Get the current styles |
| [getTheme()](./bitburner.userinterface.gettheme.md) | Get the current theme |
| [resetStyles()](./bitburner.userinterface.resetstyles.md) | Resets the player's styles to the default values |

View File

@@ -17,5 +17,5 @@ void
## Remarks
RAM cost: cost: 0 GB
RAM cost: 0 GB

View File

@@ -17,5 +17,5 @@ void
## Remarks
RAM cost: cost: 0 GB
RAM cost: 0 GB

View File

@@ -24,7 +24,7 @@ void
## Remarks
RAM cost: cost: 0 GB
RAM cost: 0 GB
## Example

View File

@@ -24,7 +24,7 @@ void
## Remarks
RAM cost: cost: 0 GB
RAM cost: 0 GB
## Example