Grub Rewards entry add
This commit is contained in:
parent
4773c30637
commit
6261999524
3 changed files with 24 additions and 12 deletions
|
|
@ -758,16 +758,26 @@ function CheckAdditionalThings(divId, dataObject, playerData, worldData, sceneDa
|
|||
} else {
|
||||
amount = playerData[i];
|
||||
}
|
||||
|
||||
if (i === "stationsOpened") {
|
||||
if (playerData.openedHiddenStation === true) amount++;
|
||||
}
|
||||
countTotal = amount;
|
||||
if (i === "journalEntriesCompleted" || i === "journalNotesCompleted") {
|
||||
countTotal = amount + " / " + playerData.journalEntriesTotal;
|
||||
}
|
||||
if (i === "grubsCollected") LogMissingGrubs();
|
||||
|
||||
textPrefix += ": " + countTotal;
|
||||
countTotal = amount;
|
||||
|
||||
if (i === "journalEntriesCompleted" || i === "journalNotesCompleted") {
|
||||
countTotal = `${amount} / ${playerData.journalEntriesTotal}`;
|
||||
}
|
||||
|
||||
if (i === "grubsCollected") {
|
||||
LogMissingGrubs();
|
||||
}
|
||||
|
||||
textPrefix += `: ${countTotal}`;
|
||||
|
||||
if (i === "grubRewards") {
|
||||
textPrefix += ` / ${playerData.grubsCollected}`;
|
||||
}
|
||||
|
||||
if (i === "greyPrinceDefeats") {
|
||||
// backwards compatibility with earlier game versions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue