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 "pantheonEnragedGuardian":
|
||||
case "mantisVillageFloorLever":
|
||||
case "pathOfPainEntrance":
|
||||
case "whiteLadyRoom":
|
||||
case "throneRoomLoreTablet":
|
||||
case "towerOfLoveSecretRoom":
|
||||
|
|
@ -1458,6 +1457,20 @@ function CheckAdditionalThings(section, saveFile) {
|
|||
(FindWorldItem(entries[i].id, entries[i].sceneName)) ? SetIconGreen(section, i): SetIconRed(section, i);
|
||||
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":
|
||||
|
||||
/* Backwards compatibility with older save files */
|
||||
|
|
|
|||
Loading…
Reference in a new issue