flowers, shade geo, rancid eggs blank data

This commit is contained in:
ReznoRMichael 2021-07-27 16:55:52 +02:00
parent 32cf1985b2
commit 3891e9a077
3 changed files with 8 additions and 6 deletions

View file

@ -1059,8 +1059,9 @@ function CheckAdditionalThings(section, dataObject, playerData, worldData, scene
case "jinnEggsSold": case "jinnEggsSold":
case "xunFlowerBrokeTimes": case "xunFlowerBrokeTimes":
// textPrefix += ": " + Math.abs(playerData[i]); // textPrefix += ": " + Math.abs(playerData[i]);
dataObject[i].amount = Math.abs(playerData[i]); amount = Math.abs(playerData[i]);
i === "geoPool" && playerData[i] > 0 ? CurrentDataPartial(section, i) : CurrentDataTrue(section, i); dataObject[i].amount = amount;
i === "geoPool" && playerData[i] > 0 ? CurrentDataPartial(section, i) : CurrentDataBlank(section, i);
if (i === "jinnEggsSold") { if (i === "jinnEggsSold") {
// fade out if not on Steel Soul // fade out if not on Steel Soul

File diff suppressed because one or more lines are too long

View file

@ -1172,10 +1172,11 @@ function CheckAdditionalThings(section, dataObject, playerData, worldData, scene
case "jinnEggsSold": case "jinnEggsSold":
case "xunFlowerBrokeTimes": case "xunFlowerBrokeTimes":
// textPrefix += ": " + Math.abs(playerData[i]); // textPrefix += ": " + Math.abs(playerData[i]);
amount = Math.abs(playerData[i]);
dataObject[i].amount = Math.abs(playerData[i]); dataObject[i].amount = amount;
(i === "geoPool" && playerData[i] > 0) ? CurrentDataPartial(section, i): CurrentDataTrue(section, i); (i === "geoPool" && playerData[i] > 0) ? CurrentDataPartial(section, i): CurrentDataBlank(section, i);
if (i === "jinnEggsSold") { if (i === "jinnEggsSold") {
// fade out if not on Steel Soul // fade out if not on Steel Soul
@ -1447,7 +1448,7 @@ function CheckAdditionalThings(section, dataObject, playerData, worldData, scene
CurrentDataTrue(section, i); CurrentDataTrue(section, i);
} else { } else {
CurrentDataFalse(section, i); CurrentDataFalse(section, i);
} }
} // end switch (i) } // end switch (i)