mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-26 07:57:32 +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
|
||
|
}
|