check hallownestSeal17

This commit is contained in:
ReznoRMichael 2022-01-20 15:48:56 +01:00
parent 95f841a064
commit 14ab6b8491
3 changed files with 25 additions and 3 deletions

View file

@ -2257,7 +2257,8 @@ var DataChecker = /*#__PURE__*/function () {
for (var entry in this.entries) { for (var entry in this.entries) {
switch (entry) { switch (entry) {
// The Collector: Tower of Love Grubs activation Bug in the game - needs a workaround. All 3 Grubs must be treated as one. // The Collector: Tower of Love Grubs activation Bug in the game - needs a workaround.
// All 3 Grubs in the Tower of Love must be treated as one.
case "grub33": case "grub33":
case "grub34": case "grub34":
if (this.entries.grub32.icon === "green") { if (this.entries.grub32.icon === "green") {
@ -2266,6 +2267,16 @@ var DataChecker = /*#__PURE__*/function () {
(0,_hk_functions_js__WEBPACK_IMPORTED_MODULE_2__.SetIconRed)(this.section, entry); (0,_hk_functions_js__WEBPACK_IMPORTED_MODULE_2__.SetIconRed)(this.section, entry);
} }
break;
// The Seer's Essence Reward - Hallownest Seal
case "hallownestSeal17":
if (this.playerData[this.entries[entry].id] === true) {
(0,_hk_functions_js__WEBPACK_IMPORTED_MODULE_2__.SetIconGreen)(this.section, entry);
} else {
(0,_hk_functions_js__WEBPACK_IMPORTED_MODULE_2__.SetIconRed)(this.section, entry);
}
break; break;
default: default:

File diff suppressed because one or more lines are too long

View file

@ -2506,6 +2506,17 @@ class DataChecker {
break; break;
// playerData checks true/false
case "hallownestSeal17": // The Seer's Essence Reward - Hallownest Seal
if (this.playerData[this.entries[entry].id] === true) {
SetIconGreen(this.section, entry);
} else {
SetIconRed(this.section, entry);
}
break;
default: default:
if (this._FindItem(this.entries[entry])) { if (this._FindItem(this.entries[entry])) {
@ -2530,7 +2541,7 @@ class DataChecker {
switch(entry) { switch(entry) {
default: default:
if (this._FindGeoRock(this.entries[entry])) { if (this._FindGeoRock(this.entries[entry])) {
SetIconGreen(this.section, entry); SetIconGreen(this.section, entry);
} else { } else {