check rancidEgg21
This commit is contained in:
parent
2163138390
commit
6ed005ad99
4 changed files with 54 additions and 5 deletions
26
build/app.js
26
build/app.js
|
|
@ -2282,6 +2282,28 @@ 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;
|
||||||
|
// Tuk's Rancid Egg - Normal or Steel Soul mode behaviour
|
||||||
|
|
||||||
|
case "rancidEgg21":
|
||||||
|
// Steel Soul
|
||||||
|
if (this.playerData.permadeathMode > 0) {
|
||||||
|
// id: "Shiny Item", sceneName: "Waterways_03"
|
||||||
|
if (this._FindItem(this.entries[entry])) {
|
||||||
|
(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);
|
||||||
|
}
|
||||||
|
} // Normal Mode
|
||||||
|
else {
|
||||||
|
// playerData.tukDungEgg
|
||||||
|
if (this.playerData[this.entries[entry].idPlayerData] === 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;
|
||||||
// boolData activation checks
|
// boolData activation checks
|
||||||
|
|
||||||
|
|
@ -7036,8 +7058,8 @@ var HK = {
|
||||||
spoiler: "Royal Waterways: Tuk's free Egg",
|
spoiler: "Royal Waterways: Tuk's free Egg",
|
||||||
spoilerNormal: "Royal Waterways: Tuk, with Defender's Crest",
|
spoilerNormal: "Royal Waterways: Tuk, with Defender's Crest",
|
||||||
spoilerSteelSoul: "Royal Waterways: Inspect Tuk",
|
spoilerSteelSoul: "Royal Waterways: Inspect Tuk",
|
||||||
id: "tukDungEgg",
|
idPlayerData: "tukDungEgg",
|
||||||
idSteelSoul: "Shiny Item",
|
id: "Shiny Item",
|
||||||
sceneName: "Waterways_03",
|
sceneName: "Waterways_03",
|
||||||
wiki: "Tuk"
|
wiki: "Tuk"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -2519,6 +2519,33 @@ class DataChecker {
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
// Tuk's Rancid Egg - Normal or Steel Soul mode behaviour
|
||||||
|
case "rancidEgg21":
|
||||||
|
|
||||||
|
// Steel Soul
|
||||||
|
if (this.playerData.permadeathMode > 0) {
|
||||||
|
|
||||||
|
// id: "Shiny Item", sceneName: "Waterways_03"
|
||||||
|
if (this._FindItem(this.entries[entry])) {
|
||||||
|
SetIconGreen(this.section, entry);
|
||||||
|
} else {
|
||||||
|
SetIconRed(this.section, entry);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
// Normal Mode
|
||||||
|
else {
|
||||||
|
|
||||||
|
// playerData.tukDungEgg
|
||||||
|
if (this.playerData[this.entries[entry].idPlayerData] === true) {
|
||||||
|
SetIconGreen(this.section, entry);
|
||||||
|
} else {
|
||||||
|
SetIconRed(this.section, entry);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
break;
|
||||||
|
|
||||||
// boolData activation checks
|
// boolData activation checks
|
||||||
default:
|
default:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3669,8 +3669,8 @@ const HK = {
|
||||||
spoiler: "Royal Waterways: Tuk's free Egg",
|
spoiler: "Royal Waterways: Tuk's free Egg",
|
||||||
spoilerNormal: "Royal Waterways: Tuk, with Defender's Crest",
|
spoilerNormal: "Royal Waterways: Tuk, with Defender's Crest",
|
||||||
spoilerSteelSoul: "Royal Waterways: Inspect Tuk",
|
spoilerSteelSoul: "Royal Waterways: Inspect Tuk",
|
||||||
id: "tukDungEgg",
|
idPlayerData: "tukDungEgg",
|
||||||
idSteelSoul: "Shiny Item",
|
id: "Shiny Item",
|
||||||
sceneName: "Waterways_03",
|
sceneName: "Waterways_03",
|
||||||
wiki: "Tuk"
|
wiki: "Tuk"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue