mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-25 17:13:47 +01:00
65cd14e33b
* Add specific types for sleeve tasks * Moved LocationName enum to overall enums file * Add LocationName enum to those provided to player * remove trailing s on CompanyPosNames enum (now CompanyPosName, in line with LocationName) * Also regenerated all ns documentation. This leads to an expected error when checking for generated files, because PRs should not normally touch markdown files. Also leads to a lint failure in generated file bitburner.d.ts * also removed some exporting from NetscriptDefinitions.d.ts for anything that wasn't imported somewhere else.
2.0 KiB
2.0 KiB
Home > bitburner > HacknetServerConstants
HacknetServerConstants interface
Hacknet server related constants
Signature:
interface HacknetServerConstants
Properties
Property | Type | Description |
---|---|---|
BaseCost | number | Base cost for a new server |
CacheBaseCost | number | Base cost to upgrade cache |
CoreBaseCost | number | Base cost to increase cores |
HashesPerLevel | number | Number of hashes calculated per level |
MaxCache | number | Max cache size |
MaxCores | number | Max number of cores |
MaxLevel | number | Max level for a server |
MaxRam | number | Max amount of RAM in GB |
MaxServers | number | Max number of servers |
PurchaseMult | number | Multiplier to purchase a new server |
RamBaseCost | number | Base cost to increase RAM |
UpgradeCacheMult | number | Multiplier to upgrade cache |
UpgradeCoreMult | number | Multiplier to increase cores |
UpgradeLevelMult | number | Multiplier to increase server level |
UpgradeRamMult | number | Multiplier to increase RAM |