2017-01-31 06:19:32 +01:00
|
|
|
/* Display Location Content when visiting somewhere in the World*/
|
|
|
|
|
2017-02-03 23:05:59 +01:00
|
|
|
|
2017-01-31 06:19:32 +01:00
|
|
|
Locations = {
|
|
|
|
//Cities
|
|
|
|
Aevum: "Aevum",
|
|
|
|
Chongqing: "Chongqing",
|
|
|
|
Sector12: "Sector-12",
|
|
|
|
NewTokyo: "New Tokyo",
|
|
|
|
Ishima: "Ishima",
|
|
|
|
Volhaven: "Volhaven",
|
|
|
|
|
|
|
|
|
|
|
|
//Aevum Locations
|
|
|
|
AevumTravelAgency: "Aevum Travel Agency",
|
|
|
|
AevumECorp: "ECorp",
|
|
|
|
AevumBachmanAndAssociates: "Bachman & Associates",
|
|
|
|
AevumClarkeIncorporated: "Clarke Incorporated",
|
|
|
|
AevumFulcrumTechnologies: "Fulcrum Technolgies",
|
|
|
|
AevumAeroCorp: "AeroCorp",
|
|
|
|
AevumGalacticCybersystems: "Galactic Cybersystems",
|
|
|
|
AevumWatchdogSecurity: "Watchdog Security",
|
|
|
|
AevumRhoConstruction: "Rho Construction",
|
2017-02-03 00:33:47 +01:00
|
|
|
AevumPolice: "Aevum Police Headquarters",
|
2017-01-31 06:19:32 +01:00
|
|
|
AevumNetLinkTechnologies: "NetLink Technologies",
|
|
|
|
AevumCrushFitnessGym: "Crush Fitness Gym",
|
|
|
|
AevumSnapFitnessGym: "Snap Fitness Gym",
|
|
|
|
|
|
|
|
//Chongqing locations
|
|
|
|
ChongqingTravelAgency: "Chongqing Travel Agency",
|
|
|
|
ChongqingKuaiGongInternational: "KuaiGong International",
|
|
|
|
ChongqingSolarisSpaceSystems: "Solaris Space Systems",
|
|
|
|
|
|
|
|
//Sector 12
|
|
|
|
Sector12TravelAgency: "Sector-12 Travel Agency",
|
|
|
|
Sector12MegaCorp: "MegaCorp",
|
|
|
|
Sector12BladeIndustries: "Blade Industries",
|
|
|
|
Sector12FourSigma: "Four Sigma",
|
|
|
|
Sector12IcarusMicrosystems: "Icarus Microsystems",
|
|
|
|
Sector12UniversalEnergy: "Universal Energy",
|
|
|
|
Sector12DeltaOne: "DeltaOne",
|
|
|
|
Sector12CIA: "Central Intelligence Agency",
|
|
|
|
Sector12NSA: "National Security Agency",
|
|
|
|
Sector12AlphaEnterprises: "Alpha Enterprises",
|
|
|
|
Sector12CarmichaelSecurity: "Carmichael Security",
|
|
|
|
Sector12FoodNStuff: "FoodNStuff",
|
|
|
|
Sector12JoesGuns: "Joe's Guns",
|
|
|
|
Sector12IronGym: "Iron Gym",
|
|
|
|
Sector12PowerhouseGym: "Powerhouse Gym",
|
|
|
|
|
|
|
|
//New Tokyo
|
|
|
|
NewTokyoTravelAgency: "New Tokyo Travel Agency",
|
|
|
|
NewTokyoDefComm: "DefComm",
|
|
|
|
NewTokyoVitaLife: "VitaLife",
|
|
|
|
NewTokyoGlobalPharmaceuticals: "Global Pharmaceuticals",
|
|
|
|
NewTokyoNoodleBar: "Noodle Bar",
|
|
|
|
|
|
|
|
//Ishima
|
|
|
|
IshimaTravelAgency: "Ishima Travel Agency",
|
|
|
|
IshimaStormTechnologies: "Storm Technologies",
|
|
|
|
IshimaNovaMedical: "Nova Medical",
|
|
|
|
IshimaOmegaSoftware: "Omega Software",
|
|
|
|
|
|
|
|
//Volhaven
|
|
|
|
VolhavenTravelAgency: "Volhaven Travel Agency",
|
|
|
|
VolhavenOmniTekIncorporated: "OmniTek Incorporated",
|
|
|
|
VolhavenNWO: "NWO",
|
|
|
|
VolhavenHeliosLabs: "Helios Labs",
|
|
|
|
VolhavenOmniaCybersystems: "Omnia Cybersystems",
|
|
|
|
VolhavenLexoCorp: "LexoCorp",
|
|
|
|
VolhavenSysCoreSecurities: "SysCore Securities",
|
|
|
|
VolhavenCompuTek: "CompuTek",
|
|
|
|
VolhavenMilleniumFitnessGym: "Millenium Fitness Gym",
|
|
|
|
}
|
|
|
|
|
|
|
|
displayLocationContent = function() {
|
2017-02-03 00:33:47 +01:00
|
|
|
if (Engine.debug) {
|
|
|
|
console.log("displayLocationContent() called with location " + Player.location)
|
|
|
|
}
|
2017-02-03 23:05:59 +01:00
|
|
|
|
2017-02-03 00:33:47 +01:00
|
|
|
var returnToWorld = document.getElementById("location-return-to-world-button");
|
2017-02-03 23:05:59 +01:00
|
|
|
|
2017-02-03 00:33:47 +01:00
|
|
|
var locationName = document.getElementById("location-name");
|
2017-02-03 23:05:59 +01:00
|
|
|
|
2017-02-03 00:33:47 +01:00
|
|
|
var locationInfo = document.getElementById("location-info");
|
2017-02-03 23:05:59 +01:00
|
|
|
|
2017-02-03 00:33:47 +01:00
|
|
|
var softwareJob = document.getElementById("location-software-job");
|
|
|
|
var itJob = document.getElementById("location-it-job");
|
|
|
|
var securityEngineerJob = document.getElementById("location-security-engineer-job");
|
|
|
|
var networkEngineerJob = document.getElementById("location-network-engineer-job");
|
|
|
|
var businessJob = document.getElementById("location-business-job");
|
|
|
|
var securityJob = document.getElementById("location-security-job");
|
|
|
|
var agentJob = document.getElementById("location-agent-job");
|
|
|
|
var employeeJob = document.getElementById("location-employee-job");
|
|
|
|
var waiterJob = document.getElementById("location-waiter-job");
|
2017-02-03 23:05:59 +01:00
|
|
|
|
2017-02-03 00:33:47 +01:00
|
|
|
var work = document.getElementById("location-work");
|
2017-02-08 01:27:11 +01:00
|
|
|
|
|
|
|
var jobTitle = document.getElementById("location-job-title");
|
|
|
|
var jobReputation = document.getElementById("location-job-reputation");
|
2017-02-03 23:05:59 +01:00
|
|
|
|
2017-02-03 00:33:47 +01:00
|
|
|
var gymTrainStr = document.getElementById("location-gym-train-str");
|
|
|
|
var gymTrainDef = document.getElementById("location-gym-train-def");
|
|
|
|
var gymTrainDex = document.getElementById("location-gym-train-dex");
|
|
|
|
var gymTrainAgi = document.getElementById("location-gym-train-agi");
|
|
|
|
|
|
|
|
var purchase1gb = document.getElementById("location-purchase-1gb");
|
|
|
|
var purchase2gb = document.getElementById("location-purchase-2gb");
|
|
|
|
var purchase4gb = document.getElementById("location-purchase-4gb");
|
|
|
|
var purchase8gb = document.getElementById("location-purchase-8gb");
|
|
|
|
var purchase16gb = document.getElementById("location-purchase-16gb");
|
|
|
|
var purchase32gb = document.getElementById("location-purchase-32gb");
|
|
|
|
var purchase64gb = document.getElementById("location-purchase-64gb");
|
|
|
|
var purchase128gb = document.getElementById("location-purchase-128gb");
|
|
|
|
var purchase256gb = document.getElementById("location-purchase-256gb");
|
|
|
|
var purchase512gb = document.getElementById("location-purchase-512gb");
|
|
|
|
var purchase1tb = document.getElementById("location-purchase-1tb");
|
|
|
|
|
|
|
|
var travelToAevum = document.getElementById("location-travel-to-aevum");
|
|
|
|
var travelToChongqing = document.getElementById("location-travel-to-chongqing");
|
|
|
|
var travelToSector12 = document.getElementById("location-travel-to-sector12");
|
|
|
|
var travelToNewTokyo = document.getElementById("location-travel-to-newtokyo");
|
|
|
|
var travelToIshima = document.getElementById("location-travel-to-ishima");
|
|
|
|
var travelToVolhaven = document.getElementById("location-travel-to-volhaven");
|
2017-02-03 23:05:59 +01:00
|
|
|
|
|
|
|
var loc = Player.location;
|
|
|
|
|
|
|
|
returnToWorld.addEventListener("click", function() {
|
|
|
|
Engine.loadWorldContent();
|
|
|
|
});
|
|
|
|
|
|
|
|
locationName.innerHTML = loc;
|
|
|
|
locationName.style.display = "block";
|
|
|
|
|
|
|
|
locationInfo.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
|
|
|
|
softwareJob.style.display = "none";
|
|
|
|
itJob.style.display = "none";
|
|
|
|
securityEngineerJob.style.display = "none";
|
|
|
|
networkEngineerJob.style.display = "none";
|
|
|
|
businessJob.style.display = "none";
|
|
|
|
securityJob.style.display = "none";
|
|
|
|
agentJob.style.display = "none";
|
|
|
|
employeeJob.style.display = "none";
|
|
|
|
waiterJob.style.display = "none";
|
|
|
|
|
2017-02-08 01:27:11 +01:00
|
|
|
work.style.display = "none";
|
2017-01-31 06:19:32 +01:00
|
|
|
|
|
|
|
gymTrainStr.style.display = "none";
|
|
|
|
gymTrainDef.style.display = "none";
|
|
|
|
gymTrainDex.style.display = "none";
|
|
|
|
gymTrainAgi.style.display = "none";
|
|
|
|
|
|
|
|
purchase1gb.style.display = "none";
|
|
|
|
purchase2gb.style.display = "none";
|
|
|
|
purchase4gb.style.display = "none";
|
|
|
|
purchase8gb.style.display = "none";
|
|
|
|
purchase16gb.style.display = "none";
|
|
|
|
purchase32gb.style.display = "none";
|
|
|
|
purchase64gb.style.display = "none";
|
|
|
|
purchase128gb.style.display = "none";
|
|
|
|
purchase256gb.style.display = "none";
|
|
|
|
purchase512gb.style.display = "none";
|
|
|
|
purchase1tb.style.display = "none";
|
|
|
|
|
|
|
|
travelToAevum.style.display = "none";
|
|
|
|
travelToChongqing.style.display = "none";
|
|
|
|
travelToSector12.style.display = "none";
|
|
|
|
travelToNewTokyo.style.display = "none";
|
|
|
|
travelToIshima.style.display = "none";
|
|
|
|
travelToVolhaven.style.display = "none";
|
|
|
|
|
2017-02-06 06:01:01 +01:00
|
|
|
//Check if the player is employed at this Location. If he is, display the "Work" button,
|
|
|
|
//update the job title, etc.
|
2017-02-08 01:27:11 +01:00
|
|
|
if (loc == Player.companyName) {
|
|
|
|
var company = Companies[loc];
|
|
|
|
|
2017-02-16 19:52:11 +01:00
|
|
|
jobTitle.style.display = "block";
|
|
|
|
jobReputation.style.display = "block";
|
2017-02-06 06:01:01 +01:00
|
|
|
jobTitle.innerHTML = "Job Title: " + Player.companyPosition.positionName;
|
|
|
|
jobReputation.innerHTML = "Company reputation: " + company.playerReputation;
|
|
|
|
work.style.display = "block";
|
|
|
|
|
|
|
|
work.addEventListener("click", function() {
|
|
|
|
Player.startWork();
|
|
|
|
return false;
|
|
|
|
});
|
2017-02-08 01:27:11 +01:00
|
|
|
} else {
|
|
|
|
jobTitle.style.display = "none";
|
|
|
|
jobReputation.style.display = "none";
|
|
|
|
}
|
2017-02-06 06:01:01 +01:00
|
|
|
|
|
|
|
|
2017-02-03 00:33:47 +01:00
|
|
|
switch (loc) {
|
2017-01-31 06:19:32 +01:00
|
|
|
case Locations.AevumTravelAgency:
|
2017-02-03 00:33:47 +01:00
|
|
|
travelToChongqing.style.display = "block";
|
|
|
|
travelToSector12.style.display = "block";
|
|
|
|
travelToNewTokyo.style.display = "block";
|
|
|
|
travelToIshima.style.display = "block";
|
|
|
|
travelToVolhaven.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
case Locations.AevumECorp:
|
2017-02-03 00:33:47 +01:00
|
|
|
locationInfo.innerHTML = Companies[loc].info;
|
|
|
|
|
|
|
|
softwareJob.style.display = "block";
|
|
|
|
itJob.style.display = "block";
|
|
|
|
securityEngineerJob.style.display = "block";
|
|
|
|
networkEngineerJob.style.display = "block";
|
|
|
|
businessJob.style.display = "block";
|
|
|
|
securityJob.style.display = "block";
|
2017-02-03 23:05:59 +01:00
|
|
|
|
|
|
|
purchase128gb.style.display = "block";
|
|
|
|
purchase256gb.style.display = "block";
|
|
|
|
purchase512gb.style.display = "block";
|
|
|
|
purchase1tb.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
2017-02-03 23:05:59 +01:00
|
|
|
|
2017-01-31 06:19:32 +01:00
|
|
|
case Locations.AevumBachmanAndAssociates:
|
2017-02-03 00:33:47 +01:00
|
|
|
locationInfo.innerHTML = Companies[loc].info;
|
|
|
|
|
|
|
|
softwareJob.style.display = "block";
|
|
|
|
itJob.style.display = "block";
|
|
|
|
securityEngineerJob.style.display = "block";
|
|
|
|
networkEngineerJob.style.display = "block";
|
|
|
|
businessJob.style.display = "block";
|
|
|
|
securityJob.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
case Locations.AevumClarkeIncorporated:
|
2017-02-03 00:33:47 +01:00
|
|
|
locationInfo.innerHTML = Companies[loc].info;
|
|
|
|
|
|
|
|
softwareJob.style.display = "block";
|
|
|
|
itJob.style.display = "block";
|
|
|
|
securityEngineerJob.style.display = "block";
|
|
|
|
networkEngineerJob.style.display = "block";
|
|
|
|
businessJob.style.display = "block";
|
|
|
|
securityJob.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
case Locations.AevumFulcrumTechnologies:
|
2017-02-03 00:33:47 +01:00
|
|
|
locationInfo.innerHTML = Companies[loc].info;
|
|
|
|
|
|
|
|
softwareJob.style.display = "block";
|
|
|
|
itJob.style.display = "block";
|
|
|
|
securityEngineerJob.style.display = "block";
|
|
|
|
networkEngineerJob.style.display = "block";
|
|
|
|
businessJob.style.display = "block";
|
2017-02-03 23:05:59 +01:00
|
|
|
|
|
|
|
purchase128gb.style.display = "block";
|
|
|
|
purchase256gb.style.display = "block";
|
|
|
|
purchase512gb.style.display = "block";
|
|
|
|
purchase1tb.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
case Locations.AevumAeroCorp:
|
2017-02-03 00:33:47 +01:00
|
|
|
locationInfo.innerHTML = Companies[loc].info;
|
|
|
|
|
|
|
|
softwareJob.style.display = "block";
|
|
|
|
itJob.style.display = "block";
|
|
|
|
securityEngineerJob.style.display = "block";
|
|
|
|
networkEngineerJob.style.display = "block";
|
|
|
|
businessJob.style.display = "block";
|
|
|
|
securityJob.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
case Locations.AevumGalacticCybersystems:
|
2017-02-03 00:33:47 +01:00
|
|
|
locationInfo.innerHTML = Companies[loc].info;
|
|
|
|
|
|
|
|
softwareJob.style.display = "block";
|
|
|
|
itJob.style.display = "block";
|
|
|
|
securityEngineerJob.style.display = "block";
|
|
|
|
networkEngineerJob.style.display = "block";
|
|
|
|
businessJob.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
case Locations.AevumWatchdogSecurity:
|
2017-02-03 00:33:47 +01:00
|
|
|
locationInfo.innerHTML = Companies[loc].info;
|
|
|
|
|
|
|
|
softwareJob.style.display = "block";
|
|
|
|
itJob.style.display = "block";
|
|
|
|
securityEngineerJob.style.display = "block";
|
|
|
|
networkEngineerJob.style.display = "block";
|
|
|
|
securityJob.style.display = "block";
|
|
|
|
agentJob.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
case Locations.AevumRhoConstruction:
|
2017-02-03 00:33:47 +01:00
|
|
|
locationInfo.innerHTML = Companies[loc].info;
|
|
|
|
|
|
|
|
softwareJob.style.display = "block";
|
|
|
|
businessJob.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
case Locations.AevumPolice:
|
2017-02-03 00:33:47 +01:00
|
|
|
locationInfo.innerHTML = Companies[loc].info;
|
|
|
|
|
|
|
|
softwareJob.style.display = "block";
|
|
|
|
securityJob.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
case Locations.AevumNetLinkTechnologies:
|
2017-02-03 00:33:47 +01:00
|
|
|
locationInfo.innerHTML = Companies[loc].info;
|
|
|
|
|
|
|
|
softwareJob.style.display = "block";
|
|
|
|
itJob.style.display = "block";
|
|
|
|
securityEngineerJob.style.display = "block";
|
|
|
|
networkEngineerJob.style.display = "block";
|
2017-02-03 23:05:59 +01:00
|
|
|
|
|
|
|
purchase1gb.style.display = "block";
|
|
|
|
purchase2gb.style.display = "block";
|
|
|
|
purchase4gb.style.display = "block";
|
|
|
|
purchase8gb.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
case Locations.AevumCrushFitnessGym:
|
2017-02-03 00:33:47 +01:00
|
|
|
gymTrainStr.style.display = "block";
|
|
|
|
gymTrainDef.style.display = "block";
|
|
|
|
gymTrainDex.style.display = "block";
|
|
|
|
gymTrainAgi.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
2017-02-03 00:33:47 +01:00
|
|
|
case Locations.AevumSnapFitnessGym:
|
|
|
|
gymTrainStr.style.display = "block";
|
|
|
|
gymTrainDef.style.display = "block";
|
|
|
|
gymTrainDex.style.display = "block";
|
|
|
|
gymTrainAgi.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
case Locations.ChongqingTravelAgency:
|
2017-02-03 00:33:47 +01:00
|
|
|
travelToAevum.style.display = "block";
|
|
|
|
travelToSector12.style.display = "block";
|
|
|
|
travelToNewTokyo.style.display = "block";
|
|
|
|
travelToIshima.style.display = "block";
|
|
|
|
travelToVolhaven.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
case Locations.ChongqingKuaiGongInternational:
|
2017-02-03 00:33:47 +01:00
|
|
|
locationInfo.innerHTML = Companies[loc].info;
|
|
|
|
|
|
|
|
softwareJob.style.display = "block";
|
|
|
|
itJob.style.display = "block";
|
|
|
|
securityEngineerJob.style.display = "block";
|
|
|
|
networkEngineerJob.style.display = "block";
|
|
|
|
businessJob.style.display = "block";
|
|
|
|
securityJob.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
case Locations.ChongqingSolarisSpaceSystems:
|
2017-02-03 00:33:47 +01:00
|
|
|
locationInfo.innerHTML = Companies[loc].info;
|
|
|
|
|
|
|
|
softwareJob.style.display = "block";
|
|
|
|
itJob.style.display = "block";
|
|
|
|
securityEngineerJob.style.display = "block";
|
|
|
|
networkEngineerJob.style.display = "block";
|
|
|
|
businessJob.style.display = "block";
|
|
|
|
securityJob.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
|
|
case Locations.Sector12TravelAgency:
|
2017-02-03 00:33:47 +01:00
|
|
|
travelToAevum.style.display = "block";
|
|
|
|
travelToChongqing.style.display = "block";
|
|
|
|
travelToNewTokyo.style.display = "block";
|
|
|
|
travelToIshima.style.display = "block";
|
|
|
|
travelToVolhaven.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
case Locations.Sector12MegaCorp:
|
2017-02-03 00:33:47 +01:00
|
|
|
locationInfo.innerHTML = Companies[loc].info;
|
|
|
|
|
|
|
|
softwareJob.style.display = "block";
|
|
|
|
itJob.style.display = "block";
|
|
|
|
securityEngineerJob.style.display = "block";
|
|
|
|
networkEngineerJob.style.display = "block";
|
|
|
|
businessJob.style.display = "block";
|
|
|
|
securityJob.style.display = "block";
|
|
|
|
break;
|
|
|
|
|
|
|
|
case Locations.Sector12BladeIndustries:
|
|
|
|
locationInfo.innerHTML = Companies[loc].info;
|
|
|
|
|
|
|
|
softwareJob.style.display = "block";
|
|
|
|
itJob.style.display = "block";
|
|
|
|
securityEngineerJob.style.display = "block";
|
|
|
|
networkEngineerJob.style.display = "block";
|
|
|
|
businessJob.style.display = "block";
|
|
|
|
securityJob.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
case Locations.Sector12FourSigma:
|
2017-02-03 00:33:47 +01:00
|
|
|
locationInfo.innerHTML = Companies[loc].info;
|
|
|
|
|
|
|
|
softwareJob.style.display = "block";
|
|
|
|
itJob.style.display = "block";
|
|
|
|
securityEngineerJob.style.display = "block";
|
|
|
|
networkEngineerJob.style.display = "block";
|
|
|
|
businessJob.style.display = "block";
|
|
|
|
securityJob.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
case Locations.Sector12IcarusMicrosystems:
|
2017-02-03 00:33:47 +01:00
|
|
|
locationInfo.innerHTML = Companies[loc].info;
|
|
|
|
|
|
|
|
softwareJob.style.display = "block";
|
|
|
|
itJob.style.display = "block";
|
|
|
|
securityEngineerJob.style.display = "block";
|
|
|
|
networkEngineerJob.style.display = "block";
|
|
|
|
businessJob.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
case Locations.Sector12UniversalEnergy:
|
2017-02-03 00:33:47 +01:00
|
|
|
locationInfo.innerHTML = Companies[loc].info;
|
|
|
|
|
|
|
|
softwareJob.style.display = "block";
|
|
|
|
itJob.style.display = "block";
|
|
|
|
securityEngineerJob.style.display = "block";
|
|
|
|
networkEngineerJob.style.display = "block";
|
|
|
|
businessJob.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
case Locations.Sector12DeltaOne:
|
2017-02-03 00:33:47 +01:00
|
|
|
locationInfo.innerHTML = Companies[loc].info;
|
|
|
|
|
|
|
|
softwareJob.style.display = "block";
|
|
|
|
itJob.style.display = "block";
|
|
|
|
securityEngineerJob.style.display = "block";
|
|
|
|
networkEngineerJob.style.display = "block";
|
|
|
|
businessJob.style.display = "block";
|
|
|
|
securityJob.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
case Locations.Sector12CIA:
|
2017-02-03 00:33:47 +01:00
|
|
|
locationInfo.innerHTML = Companies[loc].info;
|
|
|
|
|
|
|
|
softwareJob.style.display = "block";
|
|
|
|
itJob.style.display = "block";
|
|
|
|
securityEngineerJob.style.display = "block";
|
|
|
|
networkEngineerJob.style.display = "block";
|
|
|
|
securityJob.style.display = "block";
|
|
|
|
agentJob.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
case Locations.Sector12NSA:
|
2017-02-03 00:33:47 +01:00
|
|
|
locationInfo.innerHTML = Companies[loc].info;
|
|
|
|
|
|
|
|
softwareJob.style.display = "block";
|
|
|
|
itJob.style.display = "block";
|
|
|
|
securityEngineerJob.style.display = "block";
|
|
|
|
networkEngineerJob.style.display = "block";
|
|
|
|
securityJob.style.display = "block";
|
|
|
|
agentJob.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
case Locations.Sector12AlphaEnterprises:
|
2017-02-03 00:33:47 +01:00
|
|
|
locationInfo.innerHTML = Companies[loc].info;
|
|
|
|
|
|
|
|
softwareJob.style.display = "block";
|
|
|
|
businessJob.style.display = "block";
|
2017-02-06 02:29:17 +01:00
|
|
|
purchase1gb.style.display = "block";
|
|
|
|
purchase2gb.style.display = "block";
|
|
|
|
purchase4gb.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
case Locations.Sector12CarmichaelSecurity:
|
2017-02-03 00:33:47 +01:00
|
|
|
locationInfo.innerHTML = Companies[loc].info;
|
|
|
|
|
|
|
|
softwareJob.style.display = "block";
|
|
|
|
itJob.style.display = "block";
|
|
|
|
securityEngineerJob.style.display = "block";
|
|
|
|
networkEngineerJob.style.display = "block";
|
|
|
|
securityJob.style.display = "block";
|
|
|
|
agentJob.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
case Locations.Sector12FoodNStuff:
|
2017-02-03 00:33:47 +01:00
|
|
|
locationInfo.innerHTML = Companies[loc].info;
|
|
|
|
|
|
|
|
employeeJob.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
case Locations.Sector12JoesGuns:
|
2017-02-03 00:33:47 +01:00
|
|
|
locationInfo.innerHTML = Companies[loc].info;
|
|
|
|
|
|
|
|
employeeJob.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
case Locations.Sector12IronGym:
|
2017-02-03 00:33:47 +01:00
|
|
|
gymTrainStr.style.display = "block";
|
|
|
|
gymTrainDef.style.display = "block";
|
|
|
|
gymTrainDex.style.display = "block";
|
|
|
|
gymTrainAgi.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
2017-02-03 23:05:59 +01:00
|
|
|
case Locations.Sector12PowerhouseGym:
|
2017-02-03 00:33:47 +01:00
|
|
|
gymTrainStr.style.display = "block";
|
|
|
|
gymTrainDef.style.display = "block";
|
|
|
|
gymTrainDex.style.display = "block";
|
|
|
|
gymTrainAgi.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
case Locations.NewTokyoTravelAgency:
|
2017-02-03 00:33:47 +01:00
|
|
|
travelToAevum.style.display = "block";
|
|
|
|
travelToChongqing.style.display = "block";
|
|
|
|
travelToSector12.style.display = "block";
|
|
|
|
travelToIshima.style.display = "block";
|
|
|
|
travelToVolhaven.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
2017-02-03 00:33:47 +01:00
|
|
|
case Locations.NewTokyoDefComm:
|
|
|
|
locationInfo.innerHTML = Companies[loc].info;
|
|
|
|
|
|
|
|
softwareJob.style.display = "block";
|
|
|
|
itJob.style.display = "block";
|
|
|
|
securityEngineerJob.style.display = "block";
|
|
|
|
networkEngineerJob.style.display = "block";
|
|
|
|
businessJob.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
case Locations.NewTokyoVitaLife:
|
2017-02-03 00:33:47 +01:00
|
|
|
locationInfo.innerHTML = Companies[loc].info;
|
|
|
|
|
|
|
|
softwareJob.style.display = "block";
|
|
|
|
itJob.style.display = "block";
|
|
|
|
securityEngineerJob.style.display = "block";
|
|
|
|
networkEngineerJob.style.display = "block";
|
|
|
|
businessJob.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
case Locations.NewTokyoGlobalPharmaceuticals:
|
2017-02-03 00:33:47 +01:00
|
|
|
locationInfo.innerHTML = Companies[loc].info;
|
|
|
|
|
|
|
|
softwareJob.style.display = "block";
|
|
|
|
itJob.style.display = "block";
|
|
|
|
securityEngineerJob.style.display = "block";
|
|
|
|
networkEngineerJob.style.display = "block";
|
|
|
|
businessJob.style.display = "block";
|
|
|
|
securityJob.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
2017-02-03 00:33:47 +01:00
|
|
|
case Locations.NewTokyoNoodleBar:
|
|
|
|
locationInfo.innerHTML = Companies[loc].info;
|
|
|
|
|
|
|
|
waiterJob.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
|
|
case Locations.IshimaTravelAgency:
|
2017-02-03 00:33:47 +01:00
|
|
|
travelToAevum.style.display = "block";
|
|
|
|
travelToChongqing.style.display = "block";
|
|
|
|
travelToSector12.style.display = "block";
|
|
|
|
travelToNewTokyo.style.display = "block";
|
|
|
|
travelToVolhaven.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
case Locations.IshimaStormTechnologies:
|
2017-02-03 00:33:47 +01:00
|
|
|
locationInfo.innerHTML = Companies[loc].info;
|
|
|
|
|
|
|
|
softwareJob.style.display = "block";
|
|
|
|
itJob.style.display = "block";
|
|
|
|
securityEngineerJob.style.display = "block";
|
|
|
|
networkEngineerJob.style.display = "block";
|
|
|
|
businessJob.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
securityJob.style.display = "none";
|
|
|
|
agentJob.style.display = "none";
|
|
|
|
employeeJob.style.display = "none";
|
2017-02-03 23:05:59 +01:00
|
|
|
waiterJob.style.display = "none";
|
|
|
|
|
|
|
|
purchase32gb.style.display = "block";
|
|
|
|
purchase64gb.style.display = "block";
|
|
|
|
purchase128gb.style.display = "block";
|
|
|
|
purchase256gb.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
case Locations.IshimaNovaMedical:
|
2017-02-03 00:33:47 +01:00
|
|
|
locationInfo.innerHTML = Companies[loc].info;
|
|
|
|
|
|
|
|
softwareJob.style.display = "block";
|
|
|
|
itJob.style.display = "block";
|
|
|
|
securityEngineerJob.style.display = "block";
|
|
|
|
networkEngineerJob.style.display = "block";
|
|
|
|
businessJob.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
case Locations.IshimaOmegaSoftware:
|
2017-02-03 00:33:47 +01:00
|
|
|
locationInfo.innerHTML = Companies[loc].info;
|
|
|
|
|
|
|
|
softwareJob.style.display = "block";
|
|
|
|
itJob.style.display = "block";
|
|
|
|
businessJob.style.display = "block";
|
2017-02-03 23:05:59 +01:00
|
|
|
|
|
|
|
purchase4gb.style.display = "block";
|
|
|
|
purchase8gb.style.display = "block";
|
|
|
|
purchase16gb.style.display = "block";
|
|
|
|
purchase32gb.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
2017-02-03 00:33:47 +01:00
|
|
|
case Locations.VolhavenTravelAgency:
|
|
|
|
locationInfo.innerHTML = Companies[loc].info;
|
|
|
|
|
|
|
|
travelToAevum.style.display = "block";
|
|
|
|
travelToChongqing.style.display = "block";
|
|
|
|
travelToSector12.style.display = "block";
|
|
|
|
travelToNewTokyo.style.display = "block";
|
|
|
|
travelToIshima.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
case Locations.VolhavenOmniTekIncorporated:
|
2017-02-03 00:33:47 +01:00
|
|
|
locationInfo.innerHTML = Companies[loc].info;
|
|
|
|
|
|
|
|
softwareJob.style.display = "block";
|
|
|
|
itJob.style.display = "block";
|
|
|
|
securityEngineerJob.style.display = "block";
|
|
|
|
networkEngineerJob.style.display = "block";
|
|
|
|
businessJob.style.display = "block";
|
|
|
|
securityJob.style.display = "block";
|
2017-02-03 23:05:59 +01:00
|
|
|
|
|
|
|
purchase128gb.style.display = "block";
|
|
|
|
purchase256gb.style.display = "block";
|
|
|
|
purchase512gb.style.display = "block";
|
|
|
|
purchase1tb.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
case Locations.VolhavenNWO:
|
2017-02-03 00:33:47 +01:00
|
|
|
locationInfo.innerHTML = Companies[loc].info;
|
|
|
|
|
|
|
|
softwareJob.style.display = "block";
|
|
|
|
itJob.style.display = "block";
|
|
|
|
securityEngineerJob.style.display = "block";
|
|
|
|
networkEngineerJob.style.display = "block";
|
|
|
|
businessJob.style.display = "block";
|
|
|
|
securityJob.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
case Locations.VolhavenHeliosLabs:
|
2017-02-03 00:33:47 +01:00
|
|
|
locationInfo.innerHTML = Companies[loc].info;
|
|
|
|
|
|
|
|
softwareJob.style.display = "block";
|
|
|
|
itJob.style.display = "block";
|
|
|
|
securityEngineerJob.style.display = "block";
|
|
|
|
networkEngineerJob.style.display = "block";
|
|
|
|
businessJob.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
case Locations.VolhavenOmniaCybersystems:
|
2017-02-03 00:33:47 +01:00
|
|
|
locationInfo.innerHTML = Companies[loc].info;
|
|
|
|
|
|
|
|
softwareJob.style.display = "block";
|
|
|
|
itJob.style.display = "block";
|
|
|
|
securityEngineerJob.style.display = "block";
|
|
|
|
networkEngineerJob.style.display = "block";
|
|
|
|
businessJob.style.display = "block";
|
|
|
|
securityJob.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
case Locations.VolhavenLexoCorp:
|
2017-02-03 00:33:47 +01:00
|
|
|
locationInfo.innerHTML = Companies[loc].info;
|
|
|
|
|
|
|
|
softwareJob.style.display = "block";
|
|
|
|
itJob.style.display = "block";
|
|
|
|
securityEngineerJob.style.display = "block";
|
|
|
|
networkEngineerJob.style.display = "block";
|
|
|
|
businessJob.style.display = "block";
|
|
|
|
securityJob.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
case Locations.VolhavenSysCoreSecurities:
|
2017-02-03 00:33:47 +01:00
|
|
|
locationInfo.innerHTML = Companies[loc].info;
|
|
|
|
|
|
|
|
softwareJob.style.display = "block";
|
|
|
|
itJob.style.display = "block";
|
|
|
|
securityEngineerJob.style.display = "block";
|
|
|
|
networkEngineerJob.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
case Locations.VolhavenCompuTek:
|
2017-02-03 00:33:47 +01:00
|
|
|
locationInfo.innerHTML = Companies[loc].info;
|
|
|
|
|
|
|
|
softwareJob.style.display = "block";
|
|
|
|
itJob.style.display = "block";
|
|
|
|
securityEngineerJob.style.display = "block";
|
|
|
|
networkEngineerJob.style.display = "block";
|
2017-02-03 23:05:59 +01:00
|
|
|
|
|
|
|
purchase8gb.style.display = "block";
|
|
|
|
purchase16gb.style.display = "block";
|
|
|
|
purchase32gb.style.display = "block";
|
|
|
|
purchase64gb.style.display = "block";
|
|
|
|
purchase128gb.style.display = "block";
|
|
|
|
purchase256gb.style.display = "block";
|
|
|
|
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
case Locations.VolhavenMilleniumFitnessGym:
|
2017-02-03 00:33:47 +01:00
|
|
|
gymTrainStr.style.display = "block";
|
|
|
|
gymTrainDef.style.display = "block";
|
|
|
|
gymTrainDex.style.display = "block";
|
|
|
|
gymTrainAgi.style.display = "block";
|
2017-01-31 06:19:32 +01:00
|
|
|
break;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
initLocationButtons = function() {
|
2017-02-03 23:05:59 +01:00
|
|
|
//Buttons to travel to different locations in World
|
2017-01-31 06:19:32 +01:00
|
|
|
aevumTravelAgency = document.getElementById("aevum-travelagency");
|
|
|
|
aevumTravelAgency.addEventListener("click", function() {
|
2017-02-02 04:15:57 +01:00
|
|
|
Player.location = Locations.AevumTravelAgency;
|
2017-01-31 06:19:32 +01:00
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-01-31 06:19:32 +01:00
|
|
|
});
|
2017-02-02 04:15:57 +01:00
|
|
|
|
|
|
|
aevumECorp = document.getElementById("aevum-ecorp");
|
|
|
|
aevumECorp.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.AevumECorp;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-02 04:15:57 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
aevumBachmanAndAssociates = document.getElementById("aevum-bachmanandassociates");
|
|
|
|
aevumBachmanAndAssociates.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.AevumBachmanAndAssociates;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-02 04:15:57 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
aevumClarkeIncorporated = document.getElementById("aevum-clarkeincorporated");
|
|
|
|
aevumClarkeIncorporated.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.AevumClarkeIncorporated;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-02 04:15:57 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
aevumFulcrumTechnologies = document.getElementById("aevum-fulcrumtechnologies");
|
|
|
|
aevumFulcrumTechnologies.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.AevumFulcrumTechnologies;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-02 04:15:57 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
aevumAeroCorp = document.getElementById("aevum-aerocorp");
|
|
|
|
aevumAeroCorp.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.AevumAeroCorp;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-02 04:15:57 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
aevumGalacticCybersystems = document.getElementById("aevum-galacticcybersystems");
|
|
|
|
aevumGalacticCybersystems.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.AevumGalacticCybersystems;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-02 04:15:57 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
aevumWatchdogSecurity = document.getElementById("aevum-watchdogsecurity");
|
|
|
|
aevumWatchdogSecurity.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.AevumWatchdogSecurity;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-02 04:15:57 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
aevumRhoConstruction = document.getElementById("aevum-rhoconstruction");
|
|
|
|
aevumRhoConstruction.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.AevumRhoConstruction;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-02 04:15:57 +01:00
|
|
|
});
|
|
|
|
|
2017-02-03 00:33:47 +01:00
|
|
|
aevumPolice = document.getElementById("aevum-aevumpolice");
|
2017-02-02 04:15:57 +01:00
|
|
|
aevumPolice.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.AevumPolice;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-02 04:15:57 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
aevumNetLinkTechnologies = document.getElementById("aevum-netlinktechnologies");
|
|
|
|
aevumNetLinkTechnologies.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.AevumNetLinkTechnologies;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-02 04:15:57 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
aevumCrushFitnessGym = document.getElementById("aevum-crushfitnessgym");
|
|
|
|
aevumCrushFitnessGym.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.AevumCrushFitnessGym;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-02 04:15:57 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
aevumSnapFitnessGym = document.getElementById("aevum-snapfitnessgym");
|
|
|
|
aevumSnapFitnessGym.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.AevumSnapFitnessGym;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-02 04:15:57 +01:00
|
|
|
});
|
2017-02-03 00:33:47 +01:00
|
|
|
|
|
|
|
chongqingTravelAgency = document.getElementById("chongqing-travelagency");
|
|
|
|
chongqingTravelAgency.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.ChongqingTravelAgency;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-03 00:33:47 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
chongqingKuaiGongInternational = document.getElementById("chongqing-kuaigonginternational");
|
|
|
|
chongqingKuaiGongInternational.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.ChongqingKuaiGongInternational;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-03 00:33:47 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
chongqingSolarisSpaceSystems = document.getElementById("chongqing-solarisspacesystems");
|
|
|
|
chongqingSolarisSpaceSystems.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.ChongqingSolarisSpaceSystems;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-03 00:33:47 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
sector12TravelAgency = document.getElementById("sector12-travelagency");
|
|
|
|
sector12TravelAgency.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.Sector12TravelAgency;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-03 00:33:47 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
sector12MegaCorp = document.getElementById("sector12-megacorp");
|
|
|
|
sector12MegaCorp.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.Sector12MegaCorp;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-03 00:33:47 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
sector12BladeIndustries = document.getElementById("sector12-bladeindustries");
|
|
|
|
sector12BladeIndustries.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.Sector12BladeIndustries;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-03 00:33:47 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
sector12FourSigma = document.getElementById("sector12-foursigma");
|
|
|
|
sector12FourSigma.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.Sector12FourSigma;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-03 00:33:47 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
sector12IcarusMicrosystems = document.getElementById("sector12-icarusmicrosystems");
|
|
|
|
sector12IcarusMicrosystems.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.Sector12IcarusMicrosystems;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-03 00:33:47 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
sector12UniversalEnergy = document.getElementById("sector12-universalenergy");
|
|
|
|
sector12UniversalEnergy.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.Sector12UniversalEnergy;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-03 00:33:47 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
sector12DeltaOne = document.getElementById("sector12-deltaone");
|
|
|
|
sector12DeltaOne.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.Sector12DeltaOne;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-03 00:33:47 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
sector12CIA = document.getElementById("sector12-cia");
|
|
|
|
sector12CIA.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.Sector12CIA;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-03 00:33:47 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
sector12NSA = document.getElementById("sector12-nsa");
|
|
|
|
sector12NSA.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.Sector12NSA;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-03 00:33:47 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
sector12AlphaEnterprises = document.getElementById("sector12-alphaenterprises");
|
|
|
|
sector12AlphaEnterprises.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.Sector12AlphaEnterprises;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-03 00:33:47 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
sector12CarmichaelSecurity = document.getElementById("sector12-carmichaelsecurity");
|
|
|
|
sector12CarmichaelSecurity.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.Sector12CarmichaelSecurity;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-03 00:33:47 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
sector12FoodNStuff = document.getElementById("sector12-foodnstuff");
|
|
|
|
sector12FoodNStuff.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.Sector12FoodNStuff;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-03 00:33:47 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
sector12JoesGuns = document.getElementById("sector12-joesguns");
|
|
|
|
sector12JoesGuns.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.Sector12JoesGuns;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-03 00:33:47 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
sector12IronGym = document.getElementById("sector12-irongym");
|
|
|
|
sector12IronGym.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.Sector12IronGym;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-03 00:33:47 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
sector12PowerhouseGym = document.getElementById("sector12-powerhousegym");
|
|
|
|
sector12PowerhouseGym.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.Sector12PowerhouseGym;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-03 00:33:47 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
newTokyoTravelAgency = document.getElementById("newtokyo-travelagency");
|
|
|
|
newTokyoTravelAgency.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.NewTokyoTravelAgency;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-03 00:33:47 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
newTokyoDefComm = document.getElementById("newtokyo-defcomm");
|
|
|
|
newTokyoDefComm.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.NewTokyoDefComm;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-03 00:33:47 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
newTokyoVitaLife = document.getElementById("newtokyo-vitalife");
|
|
|
|
newTokyoVitaLife.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.NewTokyoVitaLife;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-03 00:33:47 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
newTokyoGlobalPharmaceuticals = document.getElementById("newtokyo-globalpharmaceuticals");
|
|
|
|
newTokyoGlobalPharmaceuticals.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.NewTokyoGlobalPharmaceuticals;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-03 00:33:47 +01:00
|
|
|
});
|
2017-02-02 04:15:57 +01:00
|
|
|
|
2017-02-03 00:33:47 +01:00
|
|
|
newTokyoNoodleBar = document.getElementById("newtokyo-noodlebar");
|
|
|
|
newTokyoNoodleBar.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.NewTokyoNoodleBar;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-03 00:33:47 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
ishimaTravelAgency = document.getElementById("ishima-travelagency");
|
|
|
|
ishimaTravelAgency.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.IshimaTravelAgency;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-03 00:33:47 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
ishimaStormTechnologies = document.getElementById("ishima-stormtechnologies");
|
|
|
|
ishimaStormTechnologies.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.IshimaStormTechnologies;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-03 00:33:47 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
ishimaNovaMedical = document.getElementById("ishima-novamedical");
|
|
|
|
ishimaNovaMedical.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.IshimaNovaMedical;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-03 00:33:47 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
ishimaOmegaSoftware = document.getElementById("ishima-omegasoftware");
|
|
|
|
ishimaOmegaSoftware.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.IshimaOmegaSoftware;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-03 00:33:47 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
volhavenTravelAgency = document.getElementById("volhaven-travelagency");
|
|
|
|
volhavenTravelAgency.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.VolhavenTravelAgency;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-03 00:33:47 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
volhavenOmniTekIncorporated = document.getElementById("volhaven-omnitekincorporated");
|
|
|
|
volhavenOmniTekIncorporated.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.VolhavenOmniTekIncorporated;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-03 00:33:47 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
volhavenNWO = document.getElementById("volhaven-nwo");
|
|
|
|
volhavenNWO.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.VolhavenNWO;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-03 00:33:47 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
volhavenHeliosLabs = document.getElementById("volhaven-helioslabs");
|
|
|
|
volhavenHeliosLabs.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.VolhavenHeliosLabs;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-03 00:33:47 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
volhavenOmniaCybersystems = document.getElementById("volhaven-omniacybersystems");
|
|
|
|
volhavenOmniaCybersystems.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.VolhavenOmniaCybersystems;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-03 00:33:47 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
volhavenLexoCorp = document.getElementById("volhaven-lexocorp");
|
|
|
|
volhavenLexoCorp.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.VolhavenLexoCorp;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-03 00:33:47 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
volhavenSysCoreSecurities = document.getElementById("volhaven-syscoresecurities");
|
|
|
|
volhavenSysCoreSecurities.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.VolhavenSysCoreSecurities;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-03 00:33:47 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
volhavenCompuTek = document.getElementById("volhaven-computek");
|
|
|
|
volhavenCompuTek.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.VolhavenCompuTek;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-03 00:33:47 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
volhavenMilleniumFitnessGym = document.getElementById("volhaven-milleniumfitnessgym");
|
|
|
|
volhavenMilleniumFitnessGym.addEventListener("click", function() {
|
|
|
|
Player.location = Locations.VolhavenMilleniumFitnessGym;
|
|
|
|
Engine.loadLocationContent();
|
2017-02-03 23:05:59 +01:00
|
|
|
return false;
|
2017-02-03 00:33:47 +01:00
|
|
|
});
|
2017-02-03 23:05:59 +01:00
|
|
|
|
|
|
|
|
|
|
|
//Buttons to interact at a location (apply for job/promotion, train, purchase, etc.)
|
|
|
|
var softwareJob = document.getElementById("location-software-job");
|
|
|
|
var itJob = document.getElementById("location-it-job");
|
|
|
|
var securityEngineerJob = document.getElementById("location-security-engineer-job");
|
|
|
|
var networkEngineerJob = document.getElementById("location-network-engineer-job");
|
|
|
|
var businessJob = document.getElementById("location-business-job");
|
|
|
|
var securityJob = document.getElementById("location-security-job");
|
|
|
|
var agentJob = document.getElementById("location-agent-job");
|
|
|
|
var employeeJob = document.getElementById("location-employee-job");
|
|
|
|
var waiterJob = document.getElementById("location-waiter-job");
|
|
|
|
|
|
|
|
var work = document.getElementById("location-work");
|
|
|
|
|
|
|
|
var gymTrainStr = document.getElementById("location-gym-train-str");
|
|
|
|
var gymTrainDef = document.getElementById("location-gym-train-def");
|
|
|
|
var gymTrainDex = document.getElementById("location-gym-train-dex");
|
|
|
|
var gymTrainAgi = document.getElementById("location-gym-train-agi");
|
|
|
|
|
|
|
|
var purchase1gb = document.getElementById("location-purchase-1gb");
|
|
|
|
var purchase2gb = document.getElementById("location-purchase-2gb");
|
|
|
|
var purchase4gb = document.getElementById("location-purchase-4gb");
|
|
|
|
var purchase8gb = document.getElementById("location-purchase-8gb");
|
|
|
|
var purchase16gb = document.getElementById("location-purchase-16gb");
|
|
|
|
var purchase32gb = document.getElementById("location-purchase-32gb");
|
|
|
|
var purchase64gb = document.getElementById("location-purchase-64gb");
|
|
|
|
var purchase128gb = document.getElementById("location-purchase-128gb");
|
|
|
|
var purchase256gb = document.getElementById("location-purchase-256gb");
|
|
|
|
var purchase512gb = document.getElementById("location-purchase-512gb");
|
|
|
|
var purchase1tb = document.getElementById("location-purchase-1tb");
|
|
|
|
|
|
|
|
var travelToAevum = document.getElementById("location-travel-to-aevum");
|
|
|
|
var travelToChongqing = document.getElementById("location-travel-to-chongqing");
|
|
|
|
var travelToSector12 = document.getElementById("location-travel-to-sector12");
|
|
|
|
var travelToNewTokyo = document.getElementById("location-travel-to-newtokyo");
|
|
|
|
var travelToIshima = document.getElementById("location-travel-to-ishima");
|
|
|
|
var travelToVolhaven = document.getElementById("location-travel-to-volhaven");
|
|
|
|
|
|
|
|
softwareJob.addEventListener("click", function() {
|
|
|
|
Player.applyForSoftwareJob();
|
|
|
|
return false;
|
|
|
|
});
|
|
|
|
|
|
|
|
itJob.addEventListener("click", function() {
|
|
|
|
Player.applyForSoftwareJob()
|
|
|
|
return false;
|
|
|
|
});
|
|
|
|
|
|
|
|
securityEngineerJob.addEventListener("click", function() {
|
|
|
|
Player.applyForSecurityEngineerJob();
|
|
|
|
return false;
|
|
|
|
});
|
|
|
|
|
|
|
|
networkEngineerJob.addEventListener("click", function() {
|
|
|
|
Player.applyForNetworkEngineerJob();
|
|
|
|
return false;
|
|
|
|
});
|
|
|
|
|
|
|
|
businessJob.addEventListener("click", function() {
|
|
|
|
Player.applyForBusinessJob();
|
|
|
|
return false;
|
|
|
|
});
|
|
|
|
|
|
|
|
securityJob.addEventListener("click", function() {
|
|
|
|
Player.applyForSecurityJob();
|
|
|
|
return false;
|
|
|
|
});
|
|
|
|
|
|
|
|
agentJob.addEventListener("click", function() {
|
|
|
|
Player.applyForAgentJob();
|
|
|
|
return false;
|
|
|
|
});
|
|
|
|
|
|
|
|
employeeJob.addEventListener("click", function() {
|
|
|
|
Player.applyForEmployeeJob();
|
|
|
|
return false;
|
|
|
|
});
|
|
|
|
|
|
|
|
waiterJob.addEventListener("click", function() {
|
|
|
|
Player.applyForWaiterJob();
|
|
|
|
return false;
|
|
|
|
});
|
|
|
|
|
|
|
|
purchase1gb.addEventListener("click", function() {
|
2017-02-06 02:29:17 +01:00
|
|
|
purchaseServerBoxCreate(1, 100000);
|
|
|
|
return false;
|
|
|
|
});
|
|
|
|
|
|
|
|
purchase2gb.addEventListener("click", function() {
|
|
|
|
purchaseServerBoxCreate(2, 250000);
|
|
|
|
return false;
|
|
|
|
});
|
|
|
|
|
|
|
|
purchase4gb.addEventListener("click", function() {
|
|
|
|
purchaseServerBoxCreate(4, 600000);
|
|
|
|
return false;
|
|
|
|
});
|
|
|
|
|
|
|
|
purchase8gb.addEventListener("click", function() {
|
|
|
|
purchaseServerBoxCreate(8, 1500000);
|
|
|
|
return false;
|
|
|
|
});
|
|
|
|
|
|
|
|
purchase16gb.addEventListener("click", function() {
|
|
|
|
purchaseServerBoxCreate(16, 4000000);
|
|
|
|
return false;
|
|
|
|
});
|
|
|
|
|
|
|
|
purchase32gb.addEventListener("click", function() {
|
|
|
|
purchaseServerBoxCreate(32, 9000000);
|
|
|
|
return false;
|
|
|
|
});
|
|
|
|
|
|
|
|
purchase64gb.addEventListener("click", function() {
|
|
|
|
purchaseServerBoxCreate(64, 20000000);
|
|
|
|
return false;
|
|
|
|
});
|
|
|
|
|
|
|
|
purchase128gb.addEventListener("click", function() {
|
|
|
|
purchaseServerBoxCreate(128, 45000000);
|
|
|
|
return false;
|
|
|
|
});
|
|
|
|
|
|
|
|
purchase256gb.addEventListener("click", function() {
|
|
|
|
purchaseServerBoxCreate(256, 100000000);
|
|
|
|
return false;
|
|
|
|
});
|
|
|
|
|
|
|
|
purchase512gb.addEventListener("click", function() {
|
|
|
|
purchaseServerBoxCreate(512, 250000000);
|
|
|
|
return false;
|
|
|
|
});
|
|
|
|
|
|
|
|
purchase1tb.addEventListener("click", function() {
|
|
|
|
purchaseServerBoxCreate(1024, 600000000);
|
|
|
|
return false;
|
|
|
|
});
|
2017-02-03 23:05:59 +01:00
|
|
|
|
2017-02-06 02:29:17 +01:00
|
|
|
}
|