check Pale Lurker's Retreat
This commit is contained in:
parent
e9b7d2b177
commit
8ac36035e0
3 changed files with 17 additions and 5 deletions
16
build/app.js
16
build/app.js
|
|
@ -1265,12 +1265,11 @@ function CheckAdditionalThings(section, saveFile) {
|
||||||
case "cityCrest":
|
case "cityCrest":
|
||||||
case "soulSanctumShortcut":
|
case "soulSanctumShortcut":
|
||||||
case "colosseumHiddenHotSpring":
|
case "colosseumHiddenHotSpring":
|
||||||
case "paleLurkersRetreat":
|
|
||||||
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);
|
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;
|
break;
|
||||||
|
|
||||||
case "pathOfPainEntrance":
|
case "pathOfPainEntrance":
|
||||||
/* Backwards compatibility with older save files */
|
/* Backwards compatibility with older save files (before Grimm Troupe) */
|
||||||
if (playerData.hasOwnProperty("destroyedNightmareLantern") === false) {
|
if (playerData.hasOwnProperty("destroyedNightmareLantern") === false) {
|
||||||
(0,_hk_functions_js__WEBPACK_IMPORTED_MODULE_2__.SetIconNone)(section, i);
|
(0,_hk_functions_js__WEBPACK_IMPORTED_MODULE_2__.SetIconNone)(section, i);
|
||||||
entries[i].disabled = true;
|
entries[i].disabled = true;
|
||||||
|
|
@ -1282,6 +1281,19 @@ function CheckAdditionalThings(section, saveFile) {
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case "paleLurkersRetreat":
|
||||||
|
/* Backwards compatibility with older save files (before Godmaster) */
|
||||||
|
if (playerData.hasOwnProperty("hasGodfinder") === 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":
|
case "grimmTentSecretRoom":
|
||||||
/* Backwards compatibility with older save files */
|
/* Backwards compatibility with older save files */
|
||||||
if (playerData.hasOwnProperty("destroyedNightmareLantern") === false) {
|
if (playerData.hasOwnProperty("destroyedNightmareLantern") === false) {
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -1458,7 +1458,7 @@ function CheckAdditionalThings(section, saveFile) {
|
||||||
|
|
||||||
case "pathOfPainEntrance":
|
case "pathOfPainEntrance":
|
||||||
|
|
||||||
/* Backwards compatibility with older save files */
|
/* Backwards compatibility with older save files (before Grimm Troupe) */
|
||||||
if (playerData.hasOwnProperty("destroyedNightmareLantern") === false) {
|
if (playerData.hasOwnProperty("destroyedNightmareLantern") === false) {
|
||||||
SetIconNone(section, i);
|
SetIconNone(section, i);
|
||||||
entries[i].disabled = true;
|
entries[i].disabled = true;
|
||||||
|
|
@ -1472,7 +1472,7 @@ function CheckAdditionalThings(section, saveFile) {
|
||||||
|
|
||||||
case "paleLurkersRetreat":
|
case "paleLurkersRetreat":
|
||||||
|
|
||||||
/* Backwards compatibility with older save files */
|
/* Backwards compatibility with older save files (before Godmaster) */
|
||||||
if (playerData.hasOwnProperty("hasGodfinder") === false) {
|
if (playerData.hasOwnProperty("hasGodfinder") === false) {
|
||||||
SetIconNone(section, i);
|
SetIconNone(section, i);
|
||||||
entries[i].disabled = true;
|
entries[i].disabled = true;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue