Load world info and UI, although clicking on a specific location doesn't actually do anything yet

This commit is contained in:
Daniel Xie
2017-01-11 14:00:51 -06:00
parent 76aa8cb9c4
commit ceb2305ed8
4 changed files with 318 additions and 87 deletions
+7 -2
View File
@@ -11,6 +11,7 @@ function PlayerObject() {
//Labor stats
this.charisma = 1;
//Intelligence, perhaps?
//Hacking multipliers
this.hacking_chance_multiplier = 2; //Increase through ascensions/augmentations
@@ -56,10 +57,14 @@ function PlayerObject() {
this.lifetime_money = 0;
//IP Address of Starting (home) computer
this.homeComputer = null;
this.homeComputer = "";
//Cities: Aevum, ChongQing, Sector12, New Tokyo, Ishima, Volhaven
this.city = "Aevum";
this.location = "";
//Servers
this.currentServer = null; //IP address of Server currently being accessed through terminal
this.currentServer = ""; //IP address of Server currently being accessed through terminal
this.discoveredServers = []; //IP addresses of secret servers not in the network that you have discovered
this.purchasedServers = [];