bitburner-src/markdown/bitburner.singularity.softreset.md
Olivier Gagnon 8b69fd7faa doc
2022-01-15 18:39:37 -05:00

31 lines
814 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.
<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 dont have any augmentation installed.