check arcaneEgg4

This commit is contained in:
ReznoRMichael 2022-01-20 17:15:29 +01:00
parent 485033a387
commit cbe44af7ec
3 changed files with 31 additions and 1 deletions

View file

@ -2310,6 +2310,20 @@ var DataChecker = /*#__PURE__*/function () {
this.entries[entry].spoiler = this.entries[entry].spoilerNormal; 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; break;
// boolData activation checks // boolData activation checks

File diff suppressed because one or more lines are too long

View file

@ -2551,6 +2551,22 @@ class DataChecker {
break; 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 // boolData activation checks
default: default: