Added getServerMoneyAvailable(), run(), and getHackingSkill() commands, and some small bug fixes + UI improvements

This commit is contained in:
Daniel Xie
2017-05-15 01:35:09 -05:00
parent acf94ccc06
commit f32ec4f9a7
3 changed files with 96 additions and 4 deletions
+1 -1
View File
@@ -175,7 +175,7 @@ updateHacknetNodesContent = function() {
//Update player's money
var moneyElem = document.getElementById("hacknet-nodes-money");
moneyElem.innerHTML = "Money: $" + formatNumber(Player.money, 2) + "<br>" +
"Total production from all Hacknet Nodes: $" + formatNumber(Player.totalHacknetNodeProduction, 2);
"Total production from all Hacknet Nodes: $" + formatNumber(Player.totalHacknetNodeProduction, 2) + " / second";
//Update information in each owned hacknet node
for (var i = 0; i < Player.hacknetNodes.length; ++i) {