mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-30 03:23:48 +01:00
31 lines
814 B
Markdown
31 lines
814 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|||
|
|
|||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [softReset](./bitburner.singularity.softreset.md)
|
|||
|
|
|||
|
## Singularity.softReset() method
|
|||
|
|
|||
|
Soft reset the game.
|
|||
|
|
|||
|
<b>Signature:</b>
|
|||
|
|
|||
|
```typescript
|
|||
|
softReset(cbScript: string): void;
|
|||
|
```
|
|||
|
|
|||
|
## Parameters
|
|||
|
|
|||
|
| Parameter | Type | Description |
|
|||
|
| --- | --- | --- |
|
|||
|
| cbScript | string | This is a script that will automatically be run after Augmentations are installed (after the reset). This script will be run with no arguments and 1 thread. It must be located on your home computer. |
|
|||
|
|
|||
|
<b>Returns:</b>
|
|||
|
|
|||
|
void
|
|||
|
|
|||
|
## Remarks
|
|||
|
|
|||
|
RAM cost: 5 GB \* 16/4/1
|
|||
|
|
|||
|
This function will perform a reset even if you don’t have any augmentation installed.
|
|||
|
|