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.getCacheUpgradeCost() method
This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).
Returns the cost of upgrading the cache level of the specified Hacknet Server by n.
If an invalid value for n is provided, then this function returns 0. If the specified Hacknet Node is already at max level, then Infinity is returned.
Calculate the cost of upgrading hacknet node cache.
<b>Signature:</b>
@@ -33,3 +29,9 @@ Cost of upgrading the specified Hacknet Node's cache.
RAM cost: 0 GB
This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).
Returns the cost of upgrading the cache level of the specified Hacknet Server by n.
If an invalid value for n is provided, then this function returns 0. If the specified Hacknet Node is already at max level, then Infinity is returned.