simple key #4 backwards compatibility

This commit is contained in:
ReznoRMichael 2021-02-16 02:17:19 +01:00
parent c36ecab0f7
commit 5ead6384bf
3 changed files with 13 additions and 4 deletions

File diff suppressed because one or more lines are too long

View file

@ -578,7 +578,7 @@ function CheckIfDataTrue(divId, dataObject, playerData) {
case "killedHiveKnight":
case "hasGodfinder":
// fades out the entries if save file is from older game versions
if (!playerData.hasOwnProperty(i)) {
if (playerData.hasOwnProperty(i) === false) {
CurrentDataBlank();
textPrefix = `<del>${textPrefix}</del>`;
textSuffix = `<del>${textSuffix}</del>`;
@ -842,6 +842,15 @@ function CheckAdditionalThings(divId, dataObject, playerData, worldData, sceneDa
case "simpleKeyAncientBasin": // #3
(FindWorldItem("Abyss_20", "Shiny Item Stand")) ? CurrentDataTrue(): CurrentDataFalse();
break;
case "gotLurkerKey":
if (playerData.hasOwnProperty("gotLurkerKey") === false) {
CurrentDataBlank();
textPrefix = `<del>${textPrefix}</del>`;
textSuffix = `<del>${textSuffix}</del>`;
break;
}
(playerData[i] === true) ? CurrentDataTrue(): CurrentDataFalse();
break;
case "paleOreAncientBasin": // #1
(FindWorldItem("Abyss_17", "Battle Scene Ore")) ? CurrentDataTrue(): CurrentDataFalse();
break;

View file

@ -797,7 +797,7 @@ const HK = {
},
gotLurkerKey: {
name: "Simple Key #4",
spoiler: "Kingdom's Edge: Colosseum of Fools"
spoiler: "Colosseum of Fools: Pale Lurker's Retreat"
},
paleOreAncientBasin: {
name: "Pale Ore #1",