This commit is contained in:
Olivier Gagnon
2021-11-03 00:27:21 -04:00
parent 37845c57c0
commit 2b79871c02
299 changed files with 3861 additions and 7125 deletions
+7 -5
View File
@@ -4,11 +4,7 @@
## Hacknet.upgradeRam() method
Tries to upgrade the specified Hacknet Nodes RAM n times. Note that each upgrade doubles the Nodes RAM. So this is equivalent to multiplying the Nodes RAM by 2 n.
Returns true if the Hacknet Nodes RAM is successfully upgraded n times or if it is upgraded some positive number of times and the Node reaches it max RAM.
Returns false otherwise.
Upgrade the RAM of a hacknet node.
<b>Signature:</b>
@@ -33,3 +29,9 @@ True if the Hacknet Nodes ram is successfully upgraded, false otherwise.
RAM cost: 0 GB
Tries to upgrade the specified Hacknet Nodes RAM n times. Note that each upgrade doubles the Nodes RAM. So this is equivalent to multiplying the Nodes RAM by 2 n.
Returns true if the Hacknet Nodes RAM is successfully upgraded n times or if it is upgraded some positive number of times and the Node reaches it max RAM.
Returns false otherwise.