mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-26 11:10:58 +02:00
NETSCRIPT: Add functionality and support to fully allow Players to use IP addresses in place of hostnames (#1990)
This commit is contained in:
@@ -547,6 +547,7 @@ export const RamCosts: RamCostTree<NSFull> = {
|
||||
getRecentScripts: RamCostConstants.RecentScripts,
|
||||
hasRootAccess: RamCostConstants.HasRootAccess,
|
||||
getHostname: RamCostConstants.GetHostname,
|
||||
getIP: RamCostConstants.GetHostname,
|
||||
getHackingLevel: RamCostConstants.GetHackingLevel,
|
||||
getHackingMultipliers: 0.25,
|
||||
getHacknetMultipliers: 0.25,
|
||||
@@ -562,6 +563,7 @@ export const RamCosts: RamCostTree<NSFull> = {
|
||||
getServerNumPortsRequired: RamCostConstants.GetServer,
|
||||
getServerMaxRam: RamCostConstants.GetServerMaxRam,
|
||||
getServerUsedRam: RamCostConstants.GetServerUsedRam,
|
||||
dnsLookup: 0.05,
|
||||
serverExists: RamCostConstants.GetServer,
|
||||
fileExists: RamCostConstants.FileExists,
|
||||
isRunning: RamCostConstants.IsRunning,
|
||||
|
||||
Reference in New Issue
Block a user