mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-30 03:23:48 +01:00
28 lines
777 B
Markdown
28 lines
777 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|||
|
|
|||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [upgradeHomeRam](./bitburner.singularity.upgradehomeram.md)
|
|||
|
|
|||
|
## Singularity.upgradeHomeRam() method
|
|||
|
|
|||
|
Upgrade home computer RAM.
|
|||
|
|
|||
|
<b>Signature:</b>
|
|||
|
|
|||
|
```typescript
|
|||
|
upgradeHomeRam(): boolean;
|
|||
|
```
|
|||
|
<b>Returns:</b>
|
|||
|
|
|||
|
boolean
|
|||
|
|
|||
|
True if the player’s home computer RAM is successfully upgraded, and false otherwise.
|
|||
|
|
|||
|
## Remarks
|
|||
|
|
|||
|
RAM cost: 3 GB \* 16/4/1
|
|||
|
|
|||
|
This function will upgrade amount of RAM on the player’s home computer. The cost is the same as if you were to do it manually.
|
|||
|
|
|||
|
This function will return true if the player’s home computer RAM is successfully upgraded, and false otherwise.
|
|||
|
|