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

View File

@@ -4,11 +4,7 @@
## Hacknet.upgradeCore() method
Tries to purchase n cores for the specified Hacknet Node.
Returns true if it successfully purchases n cores for the Hacknet Node or if it purchases some positive amount and the Node reaches its max number of cores.
Returns false otherwise.
Upgrade the core of a hacknet node.
<b>Signature:</b>
@@ -33,3 +29,9 @@ True if the Hacknet Nodes cores are successfully purchased, false otherwise.
RAM cost: 0 GB
Tries to purchase n cores for the specified Hacknet Node.
Returns true if it successfully purchases n cores for the Hacknet Node or if it purchases some positive amount and the Node reaches its max number of cores.
Returns false otherwise.