mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-20 00:04:22 +02:00
doc
This commit is contained in:
@@ -4,9 +4,7 @@
|
||||
|
||||
## Hacknet.purchaseNode() method
|
||||
|
||||
Purchases a new Hacknet Node. Returns a number with the index of the Hacknet Node. This index is equivalent to the number at the end of the Hacknet Node’s name (e.g The Hacknet Node named `hacknet-node-4` will have an index of 4).
|
||||
|
||||
If the player cannot afford to purchase a new Hacknet Node then the function will return -1.
|
||||
Purchase a new hacknet node.
|
||||
|
||||
<b>Signature:</b>
|
||||
|
||||
@@ -23,3 +21,7 @@ The index of the Hacknet Node or if the player cannot afford to purchase a new H
|
||||
|
||||
RAM cost: 0 GB
|
||||
|
||||
Purchases a new Hacknet Node. Returns a number with the index of the Hacknet Node. This index is equivalent to the number at the end of the Hacknet Node’s name (e.g The Hacknet Node named `hacknet-node-4` will have an index of 4).
|
||||
|
||||
If the player cannot afford to purchase a new Hacknet Node then the function will return -1.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user