mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-17 21:23:54 +01:00
31 lines
808 B
Markdown
31 lines
808 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.
|
||
|
||
**Signature:**
|
||
|
||
```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. |
|
||
|
||
**Returns:**
|
||
|
||
void
|
||
|
||
## Remarks
|
||
|
||
RAM cost: 5 GB \* 16/4/1
|
||
|
||
This function will perform a reset even if you don’t have any augmentation installed.
|
||
|