checking Grubs
This commit is contained in:
parent
78b25d3bbe
commit
189e6c18b3
3 changed files with 68 additions and 3 deletions
|
|
@ -107,6 +107,9 @@ function HKCheckCompletion(jsonObject, benchStart = performance.now()) {
|
|||
return false;
|
||||
}
|
||||
|
||||
/* Initialize DataChecker object for checking status of items in save file */
|
||||
let saveDataChecker = new DataChecker(jsonObject);
|
||||
|
||||
// Pre-Cleaning and filling initial data (h2, id) needed for PrepareHTMLString()
|
||||
// PrefillHTML(HK.sections);
|
||||
|
||||
|
|
@ -221,6 +224,10 @@ function HKCheckCompletion(jsonObject, benchStart = performance.now()) {
|
|||
|
||||
CheckAdditionalThings(HK.sections.charmNotches, HK.sections.charmNotches.entries, HKPlayerData, HKWorldItems);
|
||||
|
||||
// ------------------------- Collectibles -> Grubs ---------------------------------------------------------------------- //
|
||||
|
||||
saveDataChecker.checkItems(HK.sections.grubs);
|
||||
|
||||
// ------------------------- Collectibles -> Items ---------------------------------------------------------------------- //
|
||||
|
||||
CheckAdditionalThings(HK.sections.items, HK.sections.items.entries, HKPlayerData, HKWorldItems);
|
||||
|
|
@ -2415,7 +2422,7 @@ class DataChecker {
|
|||
this.section = section;
|
||||
this.entries = section.entries;
|
||||
|
||||
for (let i of this.entries) {
|
||||
for (let i in this.entries) {
|
||||
|
||||
switch(i) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue