bitburner-src/markdown/bitburner.singularity.softreset.md

31 lines
808 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Singularity](./bitburner.singularity.md) &gt; [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 dont have any augmentation installed.