" + icon + textFill + soulImages + divEnd;
+ document.getElementById(divId.id).innerHTML += divStart + icon + textFill + soulImages + divEnd;
}
/**
@@ -795,9 +804,9 @@ function CheckSoulOrbs(divId, totalSoul) {
function CheckGeo(divId, geoValue) {
let icon = SYMBOL_EMPTY;
- let textFill = "Geo:
" + icon + textFill + divEnd;
+ document.getElementById(divId.id).innerHTML += divStart + icon + textFill + divEnd;
}
/**
@@ -914,13 +923,17 @@ function CheckAdditionalThings(divId, dataObject, playerData, worldData) {
case "nailDamage":
case "stationsOpened":
case "charmSlots":
- textPrefix += ": " + playerData[i];
- (playerData[i] >= dataObject[i][2]) ? CurrentDataTrue(): CurrentDataInfo();
+ let amount = playerData[i];
+ if (i === "stationsOpened") {
+ if (playerData.openedHiddenStation === true) amount++;
+ }
+ textPrefix += ": " + amount;
+ (amount >= dataObject[i][2]) ? CurrentDataTrue(): CurrentDataBlank();
break;
case "dreamOrbsSpent":
case "rancidEggs":
case "xunFlowerBrokeTimes":
- CurrentDataInfo();
+ CurrentDataBlank();
textPrefix += ": " + Math.abs(playerData[i]);
break;
case "shopkeeperKey":
@@ -961,7 +974,7 @@ function CheckAdditionalThings(divId, dataObject, playerData, worldData) {
case "relicsKingsIdol":
case "relicsArcaneEgg":
let total = playerData[dataObject[i][3]] + playerData[dataObject[i][4]];
- (total >= dataObject[i][2]) ? CurrentDataTrue(): CurrentDataInfo();
+ (total >= dataObject[i][2]) ? CurrentDataTrue(): CurrentDataBlank();
textPrefix += ": " + total;
break;
default:
diff --git a/index.html b/index.html
index ee49a94..99a0a8d 100644
--- a/index.html
+++ b/index.html
@@ -81,7 +81,7 @@
Work-In-Progress. Please report any incorrect data here or under the Steam Guide.
- Programmed, written and created by 🉑 rezno[R] © 2020
+ Programmed, written and created by 🉑 rezno[R] © 2020
Support Tool development
diff --git a/loadJson.js b/loadJson.js
index 37eb0d9..c348dbb 100644
--- a/loadJson.js
+++ b/loadJson.js
@@ -44,7 +44,7 @@ function loadJSON(filename, callback) {
xobj.send(null);
}
-loadJSON("save/" + fileName[3],
+loadJSON("save/" + fileName[9],
function JSONparse(response) {
// Parse JSON string into object
jsonObj = JSON.parse(response);
diff --git a/style.css b/style.css
index a0dd9c3..b9c1f2b 100644
--- a/style.css
+++ b/style.css
@@ -160,10 +160,6 @@ p {
margin-bottom: 0.6rem;
}
-.hidden {
- display: none;
-}
-
.horizontal-line {
margin: 1rem 0;
height: 1.5rem;
@@ -206,14 +202,18 @@ a:hover {
.flex-container {
display: flex;
+ flex-direction: row;
align-items: center;
justify-content: left;
}
+.flex-row {
+ flex-direction: row;
+}
+
.health-mask,
.soul-orb,
.geo-symbol {
- display: flex;
width: auto;
height: 1.48rem;
margin: 0 0 0 0.3rem;
@@ -228,8 +228,17 @@ a:hover {
}
.padding-left {
- display: flex;
padding-left: 1.4rem;
+ height: 1.47rem;
+}
+
+.p-left-small {
+ padding-left: 0.3rem;
+ height: 1.47rem;
+}
+
+.hidden {
+ display: none;
}
.radio,