mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-02 20:43:47 +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
|
||
|
}
|