Added Locations. Need to add buttons to make everything connect together properly, and also getting/working for josb

This commit is contained in:
Daniel Xie
2017-01-30 21:41:42 -06:00
parent bf893926b7
commit 007d4436c9
9 changed files with 707 additions and 532 deletions
+6 -3
View File
@@ -59,10 +59,14 @@ function PlayerObject() {
//IP Address of Starting (home) computer
this.homeComputer = "";
//Cities: Aevum, ChongQing, Sector12, New Tokyo, Ishima, Volhaven
this.city = CONSTANTS.Aevum;
//Location information
this.city = Locations.Aevum;
this.location = "";
//Company Information
this.companyName = "";
this.companyJob = "";
//Servers
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
@@ -70,7 +74,6 @@ function PlayerObject() {
//Achievements and achievement progress
//Flag to let the engine know the player is starting a hack
this.startAction = false;
this.actionTime = 0;