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;
|
countTotal = amount;
|
||||||
|
|
||||||
if (i === "journalEntriesCompleted" || i === "journalNotesCompleted") {
|
if (i === "journalEntriesCompleted" || i === "journalNotesCompleted") {
|
||||||
countTotal = amount + " / " + playerData.journalEntriesTotal;
|
countTotal = "".concat(amount, " / ").concat(playerData.journalEntriesTotal);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (i === "grubsCollected") LogMissingGrubs();
|
if (i === "grubsCollected") {
|
||||||
textPrefix += ": " + countTotal;
|
LogMissingGrubs();
|
||||||
|
}
|
||||||
|
|
||||||
|
textPrefix += ": ".concat(countTotal);
|
||||||
|
|
||||||
|
if (i === "grubRewards") {
|
||||||
|
textPrefix += " / ".concat(playerData.grubsCollected);
|
||||||
|
}
|
||||||
|
|
||||||
if (i === "greyPrinceDefeats") {
|
if (i === "greyPrinceDefeats") {
|
||||||
// backwards compatibility with earlier game versions
|
// backwards compatibility with earlier game versions
|
||||||
|
|
@ -3334,11 +3341,6 @@ var HK = {
|
||||||
wiki: "Grub#Rewards_and_locations"
|
wiki: "Grub#Rewards_and_locations"
|
||||||
},
|
},
|
||||||
|
|
||||||
/*
|
|
||||||
grubRewards
|
|
||||||
Grub Rewards Collected:
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Charms Found:
|
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 {
|
} else {
|
||||||
amount = playerData[i];
|
amount = playerData[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (i === "stationsOpened") {
|
if (i === "stationsOpened") {
|
||||||
if (playerData.openedHiddenStation === true) amount++;
|
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") {
|
if (i === "greyPrinceDefeats") {
|
||||||
// backwards compatibility with earlier game versions
|
// backwards compatibility with earlier game versions
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue