check arcaneEgg4
This commit is contained in:
parent
485033a387
commit
cbe44af7ec
3 changed files with 31 additions and 1 deletions
14
build/app.js
14
build/app.js
|
|
@ -2310,6 +2310,20 @@ var DataChecker = /*#__PURE__*/function () {
|
|||
this.entries[entry].spoiler = this.entries[entry].spoilerNormal;
|
||||
}
|
||||
|
||||
break;
|
||||
// missable Arcane Egg in Lifeblood Core Room
|
||||
|
||||
case "arcaneEgg4":
|
||||
if (this._FindItem(this.entries[entry])) {
|
||||
(0,_hk_functions_js__WEBPACK_IMPORTED_MODULE_2__.SetIconGreen)(this.section, entry);
|
||||
} // When got the Lifeblood Core charm, but didn't pick up the Arcane Egg
|
||||
else if (this.playerData.gotCharm_9 === true) {
|
||||
(0,_hk_functions_js__WEBPACK_IMPORTED_MODULE_2__.SetIconNone)(this.section, entry);
|
||||
this.entries[entry].disabled = true;
|
||||
} else {
|
||||
(0,_hk_functions_js__WEBPACK_IMPORTED_MODULE_2__.SetIconRed)(this.section, entry);
|
||||
}
|
||||
|
||||
break;
|
||||
// boolData activation checks
|
||||
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -2551,6 +2551,22 @@ class DataChecker {
|
|||
|
||||
break;
|
||||
|
||||
// missable Arcane Egg in Lifeblood Core Room
|
||||
case "arcaneEgg4":
|
||||
|
||||
if (this._FindItem(this.entries[entry])) {
|
||||
SetIconGreen(this.section, entry);
|
||||
}
|
||||
// When got the Lifeblood Core charm, but didn't pick up the Arcane Egg
|
||||
else if (this.playerData.gotCharm_9 === true) {
|
||||
SetIconNone(this.section, entry);
|
||||
this.entries[entry].disabled = true;
|
||||
} else {
|
||||
SetIconRed(this.section, entry);
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
// boolData activation checks
|
||||
default:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue