add backwards compatibility to paleLurkersRetreat
This commit is contained in:
parent
fcb2fe2d52
commit
e9b7d2b177
4 changed files with 29 additions and 3 deletions
|
|
@ -98,6 +98,7 @@ If you like the tool and wish it developed further with more functions and easie
|
|||
|
||||
— **General Changes:**
|
||||
✅ Moved Pale Lurker's Retreat to Game Completion % Essentials – World Interactions.
|
||||
✅ Add backwards save compatibility detection to entries: Path of Pain Entrance.
|
||||
|
||||
* v2.1.0 2022-02-20:
|
||||
|
||||
|
|
|
|||
14
build/app.js
14
build/app.js
|
|
@ -1257,7 +1257,6 @@ function CheckAdditionalThings(section, saveFile) {
|
|||
case "pantheonCrystalGuardian":
|
||||
case "pantheonEnragedGuardian":
|
||||
case "mantisVillageFloorLever":
|
||||
case "pathOfPainEntrance":
|
||||
case "whiteLadyRoom":
|
||||
case "throneRoomLoreTablet":
|
||||
case "towerOfLoveSecretRoom":
|
||||
|
|
@ -1270,6 +1269,19 @@ function CheckAdditionalThings(section, saveFile) {
|
|||
FindWorldItem(entries[i].id, entries[i].sceneName) ? (0,_hk_functions_js__WEBPACK_IMPORTED_MODULE_2__.SetIconGreen)(section, i) : (0,_hk_functions_js__WEBPACK_IMPORTED_MODULE_2__.SetIconRed)(section, i);
|
||||
break;
|
||||
|
||||
case "pathOfPainEntrance":
|
||||
/* Backwards compatibility with older save files */
|
||||
if (playerData.hasOwnProperty("destroyedNightmareLantern") === false) {
|
||||
(0,_hk_functions_js__WEBPACK_IMPORTED_MODULE_2__.SetIconNone)(section, i);
|
||||
entries[i].disabled = true;
|
||||
} else if (FindWorldItem(entries[i].id, entries[i].sceneName)) {
|
||||
(0,_hk_functions_js__WEBPACK_IMPORTED_MODULE_2__.SetIconGreen)(section, i);
|
||||
} else {
|
||||
(0,_hk_functions_js__WEBPACK_IMPORTED_MODULE_2__.SetIconRed)(section, i);
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
case "grimmTentSecretRoom":
|
||||
/* Backwards compatibility with older save files */
|
||||
if (playerData.hasOwnProperty("destroyedNightmareLantern") === false) {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -1453,7 +1453,6 @@ function CheckAdditionalThings(section, saveFile) {
|
|||
case "cityCrest":
|
||||
case "soulSanctumShortcut":
|
||||
case "colosseumHiddenHotSpring":
|
||||
case "paleLurkersRetreat":
|
||||
(FindWorldItem(entries[i].id, entries[i].sceneName)) ? SetIconGreen(section, i): SetIconRed(section, i);
|
||||
break;
|
||||
|
||||
|
|
@ -1471,6 +1470,20 @@ function CheckAdditionalThings(section, saveFile) {
|
|||
|
||||
break;
|
||||
|
||||
case "paleLurkersRetreat":
|
||||
|
||||
/* Backwards compatibility with older save files */
|
||||
if (playerData.hasOwnProperty("hasGodfinder") === 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