<del> tags for Grey Prince Zote
This commit is contained in:
parent
2ad20828ca
commit
03d409875f
4 changed files with 23 additions and 1 deletions
File diff suppressed because one or more lines are too long
|
|
@ -570,6 +570,11 @@ b {
|
|||
color: #aac7d4;
|
||||
}
|
||||
|
||||
del {
|
||||
text-decoration: none;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
strong {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -87,6 +87,11 @@ b {
|
|||
color: #aac7d4;
|
||||
}
|
||||
|
||||
del {
|
||||
text-decoration: none;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
strong {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -848,7 +848,15 @@ function CheckAdditionalThings(divId, dataObject, playerData, worldData, sceneDa
|
|||
countTotal = amount + " / " + playerData.journalEntriesTotal;
|
||||
}
|
||||
if (i === "grubsCollected") LogMissingGrubs();
|
||||
|
||||
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();
|
||||
break;
|
||||
case "geoPool":
|
||||
|
|
@ -922,6 +930,10 @@ function CheckAdditionalThings(divId, dataObject, playerData, worldData, sceneDa
|
|||
if (playerData[i] === false && playerData.killedVoidIdol_3 === true) CurrentDataTrue();
|
||||
break;
|
||||
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();
|
||||
break;
|
||||
case "zoteStatus":
|
||||
|
|
|
|||
Loading…
Reference in a new issue