mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-23 06:32:26 +01:00
Fixed some typos in Location.js, began initLocationbuttons() function
This commit is contained in:
parent
007d4436c9
commit
746a10eecf
@ -346,6 +346,7 @@
|
|||||||
|
|
||||||
<!-- Location (visiting a location in World) -->
|
<!-- Location (visiting a location in World) -->
|
||||||
<div id="location-container">
|
<div id="location-container">
|
||||||
|
<a href="#" id="location-return-to-world-button" class="a-link-button"> Return to World </a>
|
||||||
<h1 id="location-name"></h1>
|
<h1 id="location-name"></h1>
|
||||||
<p id="location-info"> </p>
|
<p id="location-info"> </p>
|
||||||
|
|
||||||
|
@ -216,7 +216,7 @@ var Engine = {
|
|||||||
loadLocationContent: function() {
|
loadLocationContent: function() {
|
||||||
Engine.hideAllContent();
|
Engine.hideAllContent();
|
||||||
Engine.Display.locationContent.style.visibility = "visible";
|
Engine.Display.locationContent.style.visibility = "visible";
|
||||||
displayLocationContent(Player.location);
|
displayLocationContent();
|
||||||
|
|
||||||
Engine.currentPage = Engine.Page.Location;
|
Engine.currentPage = Engine.Page.Location;
|
||||||
},
|
},
|
||||||
@ -277,27 +277,27 @@ var Engine = {
|
|||||||
switch(Player.city) {
|
switch(Player.city) {
|
||||||
case Locations.Aevum:
|
case Locations.Aevum:
|
||||||
Engine.aevumLocationsList.style.display = "inline";
|
Engine.aevumLocationsList.style.display = "inline";
|
||||||
Engine.aevumLocationsList.style.visibility = "visible";
|
//Engine.aevumLocationsList.style.visibility = "visible";
|
||||||
break;
|
break;
|
||||||
case Locations.Chongqing:
|
case Locations.Chongqing:
|
||||||
Engine.chongqingLocationsList.style.display = "inline";
|
Engine.chongqingLocationsList.style.display = "inline";
|
||||||
Engine.chongqingLocationsList.style.visibility = "visible";
|
//Engine.chongqingLocationsList.style.visibility = "visible";
|
||||||
break;
|
break;
|
||||||
case Locations.Sector12:
|
case Locations.Sector12:
|
||||||
Engine.sector12LocationsList.style.display = "inline";
|
Engine.sector12LocationsList.style.display = "inline";
|
||||||
Engine.sector12LocationsList.style.visibility = "visible";
|
//Engine.sector12LocationsList.style.visibility = "visible";
|
||||||
break;
|
break;
|
||||||
case Locations.NewTokyo:
|
case Locations.NewTokyo:
|
||||||
Engine.newTokyoLocationsList.style.display = "inline";
|
Engine.newTokyoLocationsList.style.display = "inline";
|
||||||
Engine.newTokyoLocationsList.style.visibility = "visible";
|
//Engine.newTokyoLocationsList.style.visibility = "visible";
|
||||||
break;
|
break;
|
||||||
case Locations.Ishima:
|
case Locations.Ishima:
|
||||||
Engine.ishimaLocationsList.style.display = "inline";
|
Engine.ishimaLocationsList.style.display = "inline";
|
||||||
Engine.ishimaLocationsList.style.visibility = "visible";
|
//Engine.ishimaLocationsList.style.visibility = "visible";
|
||||||
break;
|
break;
|
||||||
case Locations.Volhaven:
|
case Locations.Volhaven:
|
||||||
Engine.volhavenLocationsList.style.display = "inline";
|
Engine.volhavenLocationsList.style.display = "inline";
|
||||||
Engine.volhavenLocationsList.style.visibility = "visible";
|
//Engine.volhavenLocationsList.style.visibility = "visible";
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
console.log("Invalid city value in Player object!");
|
console.log("Invalid city value in Player object!");
|
||||||
|
Loading…
Reference in New Issue
Block a user