add icon nail binding

This commit is contained in:
ReznoRMichael 2021-08-05 00:16:13 +02:00
commit 546d4697fc
7 changed files with 61 additions and 23 deletions

View file

@ -1970,7 +1970,16 @@ function CheckPantheon(db, sectionName, playerData) {
for (let entry in entries) {
if (playerData[property][entry] === true) {
SetIconGreen(section, entry);
switch(entry) {
case "boundNail":
SetIcon(section, entry, "bindingNail");
break;
default:
SetIconGreen(section, entry);
}
} else {
SetIconRed(section, entry);
}

View file

@ -208,6 +208,7 @@ function GenerateInnerHTML(db) {
let iconPartial = SYMBOL_PARTIAL;
let iconClock = SYMBOL_CLOCK;
let iconNull = SYMBOL_EMPTY;
let iconBindingNail = SYMBOL_BINDING_NAIL;
let finalHTMLFill = "";
let textFill = "";
@ -457,7 +458,7 @@ function GenerateInnerHTML(db) {
break;
/* ###################### Create all other sections ##################### */
/* ######################### Create all other sections ################################################################## */
default:
@ -507,6 +508,10 @@ function GenerateInnerHTML(db) {
obj.span[0] = "<span class='spoiler-span-green'>";
break;
case "bindingNail":
obj.icon = iconBindingNail;
break;
case "red":
obj.icon = iconRed;
break;