mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-15 12:13:49 +01:00
29 lines
644 B
ReStructuredText
29 lines
644 B
ReStructuredText
|
constants() Netscript Function
|
||
|
=============================================
|
||
|
|
||
|
.. js:function:: constants()
|
||
|
|
||
|
:RAM cost: 0 GB
|
||
|
:returns: A structure with various constants related to hacknet servers.
|
||
|
|
||
|
Examples:
|
||
|
|
||
|
.. code-block:: javascript
|
||
|
|
||
|
{
|
||
|
HashesPerLevel
|
||
|
BaseCost
|
||
|
RamBaseCost
|
||
|
CoreBaseCost
|
||
|
CacheBaseCost
|
||
|
PurchaseMult
|
||
|
UpgradeLevelMult
|
||
|
UpgradeRamMult
|
||
|
UpgradeCoreMult
|
||
|
UpgradeCacheMult
|
||
|
MaxServers
|
||
|
MaxLevel
|
||
|
MaxRam
|
||
|
MaxCores
|
||
|
MaxCache
|
||
|
}
|