check Pale Ore

This commit is contained in:
ReznoRMichael 2022-02-10 22:18:54 +01:00
parent 4f0956655a
commit 45cfecfe01
3 changed files with 10 additions and 5 deletions

View file

@ -1128,11 +1128,11 @@ function CheckAdditionalThings(section, dataObject, playerData, worldData, scene
case "soldTrinket2":
case "soldTrinket3":
case "soldTrinket4":
// textPrefix += ": " + Math.abs(playerData[i]);
case "ore":
amount = Math.abs(playerData[i]);
dataObject[i].amount = amount;
if (amount > 0 && i == "geoPool") {
if (amount > 0 && i === "geoPool") {
(0,_hk_functions_js__WEBPACK_IMPORTED_MODULE_2__.SetIconPartial)(section, i);
} else {
(0,_hk_functions_js__WEBPACK_IMPORTED_MODULE_2__.SetIconNone)(section, i);
@ -9377,6 +9377,11 @@ var HK = {
spoiler: "City of Tears: Relic Seeker Lemm",
wiki: "Lemm#Collectibles"
},
ore: {
name: "Pale Ore",
spoiler: "Current amount of Pale Ore in inventory",
wiki: "Pale_Ore"
},
rancidEggs: {
name: "Rancid Eggs",
spoiler: "Find: Hallownest, Buy: Sly, Tuk",

File diff suppressed because one or more lines are too long

View file

@ -1298,12 +1298,12 @@ function CheckAdditionalThings(section, dataObject, playerData, worldData, scene
case "soldTrinket2":
case "soldTrinket3":
case "soldTrinket4":
// textPrefix += ": " + Math.abs(playerData[i]);
case "ore":
amount = Math.abs(playerData[i]);
dataObject[i].amount = amount;
if (amount > 0 && i == "geoPool") {
if (amount > 0 && i === "geoPool") {
SetIconPartial(section, i);
} else {
SetIconNone(section, i);