bosses added to hall of gods

This commit is contained in:
ReznoRMichael 2021-08-05 15:02:10 +02:00
parent 48d7740007
commit 968811c9c1
4 changed files with 76 additions and 14 deletions

View file

@ -1868,11 +1868,15 @@ function CheckHallOfGods(db, playerData) {
(0,_hk_functions_js__WEBPACK_IMPORTED_MODULE_2__.SetIcon)(section, entry, "partial"); (0,_hk_functions_js__WEBPACK_IMPORTED_MODULE_2__.SetIcon)(section, entry, "partial");
break; break;
} }
} else if (isUnlocked) {
(0,_hk_functions_js__WEBPACK_IMPORTED_MODULE_2__.SetIcon)(section, entry, "partial");
} else {
(0,_hk_functions_js__WEBPACK_IMPORTED_MODULE_2__.SetIconRed)(section, entry);
} }
/* When boss is only unlocked, other entries get a gray icon (awaiting completion) */
else if (isUnlocked) {
(0,_hk_functions_js__WEBPACK_IMPORTED_MODULE_2__.SetIcon)(section, entry, "partial");
}
/* When not unlocked, every entry gets a red icon */
else {
(0,_hk_functions_js__WEBPACK_IMPORTED_MODULE_2__.SetIconRed)(section, entry);
}
} }
/* end for (let entry in entries) */ /* end for (let entry in entries) */
@ -6504,32 +6508,60 @@ var HK = {
description: "Bottom of Godhome. Detecting what bosses have been unlocked and defeated on all three difficulty levels: Attuned, Ascended and Radiant.", description: "Bottom of Godhome. Detecting what bosses have been unlocked and defeated on all three difficulty levels: Attuned, Ascended and Radiant.",
entries: { entries: {
GruzMotherUnlocked: { GruzMotherUnlocked: {
name: "P1 Gruz Mother: Unlocked", name: "Gruz Mother: Unlocked",
spoiler: "I sleep amongst winding roads", spoiler: "I sleep amongst winding roads",
id: "GruzMother", id: "GruzMother",
check: "isUnlocked", check: "isUnlocked",
wiki: "Hall_of_Gods#Gruz_Mother" wiki: "Hall_of_Gods#Gruz_Mother"
}, },
GruzMotherAttuned: { GruzMotherAttuned: {
name: "P1 Gruz Mother: Attuned", name: "Gruz Mother: Attuned",
spoiler: "Slumbering god of fertility", spoiler: "Slumbering god of fertility",
id: "GruzMother", id: "GruzMother",
check: "completedTier1", check: "completedTier1",
wiki: "Hall_of_Gods#Gruz_Mother" wiki: "Hall_of_Gods#Gruz_Mother"
}, },
GruzMotherAscended: { GruzMotherAscended: {
name: "P1 Gruz Mother: Ascended", name: "Gruz Mother: Ascended",
spoiler: "Slumbering god of fertility", spoiler: "Slumbering god of fertility",
id: "GruzMother", id: "GruzMother",
check: "completedTier2", check: "completedTier2",
wiki: "Hall_of_Gods#Gruz_Mother" wiki: "Hall_of_Gods#Gruz_Mother"
}, },
GruzMotherRadiant: { GruzMotherRadiant: {
name: "P1 Gruz Mother: Radiant", name: "Gruz Mother: Radiant",
spoiler: "Slumbering god of fertility", spoiler: "Slumbering god of fertility",
id: "GruzMother", id: "GruzMother",
check: "completedTier3", check: "completedTier3",
wiki: "Hall_of_Gods#Gruz_Mother" wiki: "Hall_of_Gods#Gruz_Mother"
},
VengeflyUnlocked: {
name: "Vengefly King: Unlocked",
spoiler: "I keep guard above a verdant land",
id: "Vengefly",
check: "isUnlocked",
wiki: "Hall_of_Gods#Vengefly_King"
},
VengeflyAttuned: {
name: "Vengefly King: Attuned",
spoiler: "Vicious god of territories",
id: "Vengefly",
check: "completedTier1",
wiki: "Hall_of_Gods#Vengefly_King"
},
VengeflyAscended: {
name: "Vengefly King: Ascended",
spoiler: "Vicious god of territories",
id: "Vengefly",
check: "completedTier2",
wiki: "Hall_of_Gods#Vengefly_King"
},
VengeflyRadiant: {
name: "Vengefly King: Radiant",
spoiler: "Vicious god of territories",
id: "Vengefly",
check: "completedTier3",
wiki: "Hall_of_Gods#Vengefly_King"
} }
} }
} }

File diff suppressed because one or more lines are too long

View file

@ -2054,15 +2054,17 @@ function CheckHallOfGods(db, playerData) {
} }
} }
/* When boss is only unlocked, other entries get a gray icon (awaiting completion) */
else if (isUnlocked) { else if (isUnlocked) {
SetIcon(section, entry, "partial"); SetIcon(section, entry, "partial");
} }
/* When not unlocked, every entry gets a red icon */
else { else {
SetIconRed(section, entry); SetIconRed(section, entry);
} }
} /* end for (let entry in entries) */ } /* end for (let entry in entries) */
} }

View file

@ -3372,33 +3372,61 @@ const HK = {
description: "Bottom of Godhome. Detecting what bosses have been unlocked and defeated on all three difficulty levels: Attuned, Ascended and Radiant.", description: "Bottom of Godhome. Detecting what bosses have been unlocked and defeated on all three difficulty levels: Attuned, Ascended and Radiant.",
entries: { entries: {
GruzMotherUnlocked: { GruzMotherUnlocked: {
name: "P1 Gruz Mother: Unlocked", name: "Gruz Mother: Unlocked",
spoiler: "I sleep amongst winding roads", spoiler: "I sleep amongst winding roads",
id: "GruzMother", id: "GruzMother",
check: "isUnlocked", check: "isUnlocked",
wiki: "Hall_of_Gods#Gruz_Mother" wiki: "Hall_of_Gods#Gruz_Mother"
}, },
GruzMotherAttuned: { GruzMotherAttuned: {
name: "P1 Gruz Mother: Attuned", name: "Gruz Mother: Attuned",
spoiler: "Slumbering god of fertility", spoiler: "Slumbering god of fertility",
id: "GruzMother", id: "GruzMother",
check: "completedTier1", check: "completedTier1",
wiki: "Hall_of_Gods#Gruz_Mother" wiki: "Hall_of_Gods#Gruz_Mother"
}, },
GruzMotherAscended: { GruzMotherAscended: {
name: "P1 Gruz Mother: Ascended", name: "Gruz Mother: Ascended",
spoiler: "Slumbering god of fertility", spoiler: "Slumbering god of fertility",
id: "GruzMother", id: "GruzMother",
check: "completedTier2", check: "completedTier2",
wiki: "Hall_of_Gods#Gruz_Mother" wiki: "Hall_of_Gods#Gruz_Mother"
}, },
GruzMotherRadiant: { GruzMotherRadiant: {
name: "P1 Gruz Mother: Radiant", name: "Gruz Mother: Radiant",
spoiler: "Slumbering god of fertility", spoiler: "Slumbering god of fertility",
id: "GruzMother", id: "GruzMother",
check: "completedTier3", check: "completedTier3",
wiki: "Hall_of_Gods#Gruz_Mother" wiki: "Hall_of_Gods#Gruz_Mother"
}, },
VengeflyUnlocked: {
name: "Vengefly King: Unlocked",
spoiler: "I keep guard above a verdant land",
id: "Vengefly",
check: "isUnlocked",
wiki: "Hall_of_Gods#Vengefly_King"
},
VengeflyAttuned: {
name: "Vengefly King: Attuned",
spoiler: "Vicious god of territories",
id: "Vengefly",
check: "completedTier1",
wiki: "Hall_of_Gods#Vengefly_King"
},
VengeflyAscended: {
name: "Vengefly King: Ascended",
spoiler: "Vicious god of territories",
id: "Vengefly",
check: "completedTier2",
wiki: "Hall_of_Gods#Vengefly_King"
},
VengeflyRadiant: {
name: "Vengefly King: Radiant",
spoiler: "Vicious god of territories",
id: "Vengefly",
check: "completedTier3",
wiki: "Hall_of_Gods#Vengefly_King"
},
}, },
} }