mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-18 05:33:54 +01:00
Rebalancing on RAM costs
This commit is contained in:
parent
56a7ed66a5
commit
7dfb102ba7
25
README.md
25
README.md
@ -5,31 +5,12 @@ TESTING TODO:
|
||||
|
||||
If a server has no more money available it cannot be hacked anymore
|
||||
Should work automatically...because your money gained percentage will be multiplied by 0
|
||||
When the game is loaded re-load all of the scripts in runningScripts
|
||||
- Seems to be working
|
||||
|
||||
Adjust leveling formula. Goes up way too high at first
|
||||
http://gamedev.stackexchange.com/questions/55151/rpg-logarithmic-leveling-formula
|
||||
- might be too slow now?
|
||||
|
||||
|
||||
Change Company pages to display "apply for promotion" and other stuff when you are already employed there
|
||||
|
||||
|
||||
rm command seems to work
|
||||
|
||||
|
||||
+ Traveling
|
||||
|
||||
Script logging functionality? Logs to internal "log file" (property of script itself)
|
||||
Can see log with tail.
|
||||
Should add something where if you click it in the "Active Scripts" GUI you can see the logs too
|
||||
|
||||
Seems to work fine
|
||||
|
||||
Gyms - Later..don't need for MVP
|
||||
|
||||
|
||||
Tasks TODO:
|
||||
Adding augmentations for Silhouette fac
|
||||
Factions Info page isn't formatted correctly
|
||||
@ -57,11 +38,5 @@ Private beta feedback
|
||||
|
||||
Also not really a big deal, but I'm at 110% zoom on chrome and the tutorial window
|
||||
covers some of the text
|
||||
|
||||
I'd put a little popup or something when you click save, so you know
|
||||
|
||||
Netscript commands:
|
||||
I just got two from the top of my head: a function to get the current cash on the server, and a function to know how much a hack would take
|
||||
Like, if I want to grow each time I take 5000$ from the server, that would be practical
|
||||
|
||||
Now, only other suggestion before sleep would be to be able to buy multiple Hacknet upgrades in one click
|
@ -10,8 +10,8 @@ CONSTANTS = {
|
||||
CorpFactionRepRequirement: 250000,
|
||||
|
||||
/* Base costs */
|
||||
BaseCostFor1GBOfRamHome: 50000,
|
||||
BaseCostFor1GBOfRamServer: 40000, //1 GB of RAM
|
||||
BaseCostFor1GBOfRamHome: 40000,
|
||||
BaseCostFor1GBOfRamServer: 35000, //1 GB of RAM
|
||||
BaseCostFor1GBOfRamHacknetNode: 30000,
|
||||
|
||||
BaseCostForHacknetNode: 1000,
|
||||
|
@ -34,10 +34,9 @@ purchaseRamForHomeBoxCreate = function() {
|
||||
var numUpgrades = Math.log2(currentRam);
|
||||
|
||||
//Calculate cost
|
||||
//Base cost of RAM is 50k per 1GB...but lets have this increase by some percentage
|
||||
//each time the ram has been upgraded
|
||||
//Have cost increase by some percentage each time RAM has been upgraded
|
||||
var cost = currentRam * CONSTANTS.BaseCostFor1GBOfRamHome;
|
||||
var mult = Math.pow(1.32, numUpgrades);
|
||||
var mult = Math.pow(1.33, numUpgrades);
|
||||
cost = cost * mult;
|
||||
|
||||
purchaseRamForHomeBoxSetText("Would you like to purchase additional RAM for your home computer? <br><br>" +
|
||||
|
Loading…
Reference in New Issue
Block a user