add backwards compatibility to pathOfPainEntrance
This commit is contained in:
parent
64dc4ca8b0
commit
fcb2fe2d52
1 changed files with 14 additions and 1 deletions
|
|
@ -1445,7 +1445,6 @@ function CheckAdditionalThings(section, saveFile) {
|
||||||
case "pantheonCrystalGuardian":
|
case "pantheonCrystalGuardian":
|
||||||
case "pantheonEnragedGuardian":
|
case "pantheonEnragedGuardian":
|
||||||
case "mantisVillageFloorLever":
|
case "mantisVillageFloorLever":
|
||||||
case "pathOfPainEntrance":
|
|
||||||
case "whiteLadyRoom":
|
case "whiteLadyRoom":
|
||||||
case "throneRoomLoreTablet":
|
case "throneRoomLoreTablet":
|
||||||
case "towerOfLoveSecretRoom":
|
case "towerOfLoveSecretRoom":
|
||||||
|
|
@ -1458,6 +1457,20 @@ function CheckAdditionalThings(section, saveFile) {
|
||||||
(FindWorldItem(entries[i].id, entries[i].sceneName)) ? SetIconGreen(section, i): SetIconRed(section, i);
|
(FindWorldItem(entries[i].id, entries[i].sceneName)) ? SetIconGreen(section, i): SetIconRed(section, i);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case "pathOfPainEntrance":
|
||||||
|
|
||||||
|
/* Backwards compatibility with older save files */
|
||||||
|
if (playerData.hasOwnProperty("destroyedNightmareLantern") === false) {
|
||||||
|
SetIconNone(section, i);
|
||||||
|
entries[i].disabled = true;
|
||||||
|
} else if (FindWorldItem(entries[i].id, entries[i].sceneName)) {
|
||||||
|
SetIconGreen(section, i);
|
||||||
|
} else {
|
||||||
|
SetIconRed(section, i);
|
||||||
|
}
|
||||||
|
|
||||||
|
break;
|
||||||
|
|
||||||
case "grimmTentSecretRoom":
|
case "grimmTentSecretRoom":
|
||||||
|
|
||||||
/* Backwards compatibility with older save files */
|
/* Backwards compatibility with older save files */
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue