Grub Rewards entry add
This commit is contained in:
parent
4773c30637
commit
6261999524
3 changed files with 27 additions and 15 deletions
18
build/app.js
18
build/app.js
|
|
@ -680,11 +680,18 @@ function CheckAdditionalThings(divId, dataObject, playerData, worldData, sceneDa
|
|||
countTotal = amount;
|
||||
|
||||
if (i === "journalEntriesCompleted" || i === "journalNotesCompleted") {
|
||||
countTotal = amount + " / " + playerData.journalEntriesTotal;
|
||||
countTotal = "".concat(amount, " / ").concat(playerData.journalEntriesTotal);
|
||||
}
|
||||
|
||||
if (i === "grubsCollected") LogMissingGrubs();
|
||||
textPrefix += ": " + countTotal;
|
||||
if (i === "grubsCollected") {
|
||||
LogMissingGrubs();
|
||||
}
|
||||
|
||||
textPrefix += ": ".concat(countTotal);
|
||||
|
||||
if (i === "grubRewards") {
|
||||
textPrefix += " / ".concat(playerData.grubsCollected);
|
||||
}
|
||||
|
||||
if (i === "greyPrinceDefeats") {
|
||||
// backwards compatibility with earlier game versions
|
||||
|
|
@ -3334,11 +3341,6 @@ var HK = {
|
|||
wiki: "Grub#Rewards_and_locations"
|
||||
},
|
||||
|
||||
/*
|
||||
grubRewards
|
||||
Grub Rewards Collected:
|
||||
*/
|
||||
|
||||
/*
|
||||
Charms Found:
|
||||
*/
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -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…
Reference in a new issue