Refactored script RAM usage to be calculated based on commands. Updated RAM on foreign servers to balance. Balnaced company wages

This commit is contained in:
Daniel Xie
2017-05-10 16:10:06 -05:00
parent 3808fe5a3f
commit 416f3e7b47
7 changed files with 66 additions and 24 deletions
+8
View File
@@ -28,10 +28,18 @@ CONSTANTS = {
//NeuroFlux Governor cost multiplier as you level up
NeuroFluxGovernorLevelMult: 1.09,
/* Script related things */
//Time (ms) it takes to run one operation in Netscript.
CodeInstructionRunTime: 1500,
//RAM Costs for differenc commands
ScriptWhileRamCost: 0.4,
ScriptForRamCost: 0.4,
ScriptIfRamCost: 0.1,
ScriptHackRamCost: 0.25,
ScriptGrowRamCost: 0.25,
//Server growth rate
ServerGrowthRate: 1.00075,