<del> tags for Grey Prince Zote

This commit is contained in:
ReznoRMichael 2021-02-14 01:52:21 +01:00
parent 2ad20828ca
commit 03d409875f
4 changed files with 23 additions and 1 deletions

File diff suppressed because one or more lines are too long

View file

@ -570,6 +570,11 @@ b {
color: #aac7d4; color: #aac7d4;
} }
del {
text-decoration: none;
opacity: 0.5;
}
strong { strong {
font-weight: 700; font-weight: 700;
} }

View file

@ -87,6 +87,11 @@ b {
color: #aac7d4; color: #aac7d4;
} }
del {
text-decoration: none;
opacity: 0.5;
}
strong { strong {
font-weight: 700; font-weight: 700;
} }

View file

@ -848,7 +848,15 @@ function CheckAdditionalThings(divId, dataObject, playerData, worldData, sceneDa
countTotal = amount + " / " + playerData.journalEntriesTotal; countTotal = amount + " / " + playerData.journalEntriesTotal;
} }
if (i === "grubsCollected") LogMissingGrubs(); if (i === "grubsCollected") LogMissingGrubs();
textPrefix += ": " + countTotal; textPrefix += ": " + countTotal;
if (i === "greyPrinceDefeats") {
if (playerData.zoteDead === true || (playerData.zoteRescuedBuzzer === false && playerData.hasWalljump === true)) {
textPrefix = `<del>${textPrefix}</del>`;
textSuffix = `<del>${textSuffix}</del>`;
}
}
(amount >= dataObject[i].max) ? CurrentDataTrue(): CurrentDataBlank(); (amount >= dataObject[i].max) ? CurrentDataTrue(): CurrentDataBlank();
break; break;
case "geoPool": case "geoPool":
@ -922,6 +930,10 @@ function CheckAdditionalThings(divId, dataObject, playerData, worldData, sceneDa
if (playerData[i] === false && playerData.killedVoidIdol_3 === true) CurrentDataTrue(); if (playerData[i] === false && playerData.killedVoidIdol_3 === true) CurrentDataTrue();
break; break;
case "greyPrinceDefeated": case "greyPrinceDefeated":
if (playerData.zoteDead === true || (playerData.zoteRescuedBuzzer === false && playerData.hasWalljump === true)) {
textPrefix = `<del>${textPrefix}</del>`;
textSuffix = `<del>${textSuffix}</del>`;
}
(playerData[i] === true) ? CurrentDataTrue(): CurrentDataBlank(); (playerData[i] === true) ? CurrentDataTrue(): CurrentDataBlank();
break; break;
case "zoteStatus": case "zoteStatus":