mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-29 19:13:49 +01:00
Merge pull request #1600 from danielyxie/dev
added ram cost for new functions.
This commit is contained in:
commit
71542dbe7f
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -11,6 +11,7 @@ export const RamCostConstants: IMap<number> = {
|
|||||||
ScriptGrowRamCost: 0.15,
|
ScriptGrowRamCost: 0.15,
|
||||||
ScriptGrowthAnalyzeRamCost: 1,
|
ScriptGrowthAnalyzeRamCost: 1,
|
||||||
ScriptWeakenRamCost: 0.15,
|
ScriptWeakenRamCost: 0.15,
|
||||||
|
ScriptWeakenAnalyzeRamCost: 1,
|
||||||
ScriptScanRamCost: 0.2,
|
ScriptScanRamCost: 0.2,
|
||||||
ScriptPortProgramRamCost: 0.05,
|
ScriptPortProgramRamCost: 0.05,
|
||||||
ScriptRunRamCost: 1.0,
|
ScriptRunRamCost: 1.0,
|
||||||
@ -80,11 +81,14 @@ export const RamCosts: IMap<any> = {
|
|||||||
hack: RamCostConstants.ScriptHackRamCost,
|
hack: RamCostConstants.ScriptHackRamCost,
|
||||||
hackAnalyzeThreads: RamCostConstants.ScriptHackAnalyzeRamCost,
|
hackAnalyzeThreads: RamCostConstants.ScriptHackAnalyzeRamCost,
|
||||||
hackAnalyzePercent: RamCostConstants.ScriptHackAnalyzeRamCost,
|
hackAnalyzePercent: RamCostConstants.ScriptHackAnalyzeRamCost,
|
||||||
|
hackAnalyzeSecurity: RamCostConstants.ScriptHackAnalyzeRamCost,
|
||||||
hackChance: RamCostConstants.ScriptHackAnalyzeRamCost,
|
hackChance: RamCostConstants.ScriptHackAnalyzeRamCost,
|
||||||
sleep: 0,
|
sleep: 0,
|
||||||
grow: RamCostConstants.ScriptGrowRamCost,
|
grow: RamCostConstants.ScriptGrowRamCost,
|
||||||
growthAnalyze: RamCostConstants.ScriptGrowthAnalyzeRamCost,
|
growthAnalyze: RamCostConstants.ScriptGrowthAnalyzeRamCost,
|
||||||
|
growthAnalyzeSecurity: RamCostConstants.ScriptGrowthAnalyzeRamCost,
|
||||||
weaken: RamCostConstants.ScriptWeakenRamCost,
|
weaken: RamCostConstants.ScriptWeakenRamCost,
|
||||||
|
weakenAnalyze: RamCostConstants.ScriptWeakenAnalyzeRamCost,
|
||||||
print: 0,
|
print: 0,
|
||||||
tprint: 0,
|
tprint: 0,
|
||||||
clearLog: 0,
|
clearLog: 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user