add Tuk: Free Rancid Egg

This commit is contained in:
ReznoRMichael 2021-08-03 14:43:02 +02:00
parent c2dc2d06be
commit 9e04eb8023
4 changed files with 38 additions and 6 deletions

View file

@ -1180,12 +1180,21 @@ function CheckAdditionalThings(section, dataObject, playerData, worldData, scene
// fade out if not on Steel Soul
if (playerData.permadeathMode < 1) {
SetIconNone(section, i);
dataObject[i].disabled = true; // textPrefix = `<del>${textPrefix}</del>`;
dataObject[i].disabled = true;
}
}
break;
}
case "tukDungEgg":
// fade out if on Steel Soul
if (playerData.permadeathMode > 0) {
SetIconNone(section, i);
dataObject[i].disabled = true;
continue;
}
playerData[i] === true ? SetIconGreen(section, i) : SetIconRed(section, i);
break;
case "bankerBalance":
@ -5921,6 +5930,11 @@ var HK = {
spoiler: "Find: Hallownest, Buy: Sly, Tuk",
wiki: "Rancid_Egg"
},
tukDungEgg: {
name: "Tuk: Free Rancid Egg",
spoiler: "Royal Waterways: Tuk, with Defender's Crest",
wiki: "Tuk"
},
jinnEggsSold: {
name: "Rancid Eggs Sold to Jinn",
spoiler: "Only in Steel Soul Mode",

File diff suppressed because one or more lines are too long

View file

@ -1305,10 +1305,23 @@ function CheckAdditionalThings(section, dataObject, playerData, worldData, scene
SetIconNone(section, i);
dataObject[i].disabled = true;
// textPrefix = `<del>${textPrefix}</del>`;
}
}
break;
case "tukDungEgg":
// fade out if on Steel Soul
if (playerData.permadeathMode > 0) {
SetIconNone(section, i);
dataObject[i].disabled = true;
continue;
}
}
(playerData[i] === true) ? SetIconGreen(section, i): SetIconRed(section, i);
break;

View file

@ -2779,6 +2779,11 @@ const HK = {
spoiler: "Find: Hallownest, Buy: Sly, Tuk",
wiki: "Rancid_Egg"
},
tukDungEgg: {
name: "Tuk: Free Rancid Egg",
spoiler: "Royal Waterways: Tuk, with Defender's Crest",
wiki: "Tuk"
},
jinnEggsSold: {
name: "Rancid Eggs Sold to Jinn",
spoiler: "Only in Steel Soul Mode",