mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-27 18:13:52 +01:00
26 lines
555 B
ReStructuredText
26 lines
555 B
ReStructuredText
|
constants() Netscript Function
|
||
|
==============================
|
||
|
|
||
|
.. js:function:: constants()
|
||
|
|
||
|
:RAM cost: 0 GB
|
||
|
:returns: A structure with various constants related to hacknet nodes.
|
||
|
|
||
|
Examples:
|
||
|
|
||
|
.. code-block:: javascript
|
||
|
|
||
|
{
|
||
|
MoneyGainPerLevel
|
||
|
BaseCost
|
||
|
LevelBaseCost
|
||
|
RamBaseCost
|
||
|
CoreBaseCost
|
||
|
PurchaseNextMult
|
||
|
UpgradeLevelMult
|
||
|
UpgradeRamMult
|
||
|
UpgradeCoreMult
|
||
|
MaxLevel
|
||
|
MaxRam
|
||
|
MaxCores
|
||
|
}
|