diff --git a/HKCheckCompletion.js b/HKCheckCompletion.js index 0fe24fd..305703c 100644 --- a/HKCheckCompletion.js +++ b/HKCheckCompletion.js @@ -52,6 +52,16 @@ var HK_DREAMNAIL = { mothDeparted: "Hear the Seer's final words" }; +var HK_EQUIPMENT = { + hasKingsBrand: "King's Brand", + hasSuperDash: "Crystal Heart", + hasWalljump: "Mantis Claw", + hasDoubleJump: "Monarch Wings", + hasAcidArmour: "Isma's Tear", + hasDash: "Mothwing Cloak", + hasShadowDash: "Shade Cloak" +}; + function HKCheckCompletion(jsonObject) { let HKPlayerData = jsonObject.playerData; @@ -61,6 +71,7 @@ function HKCheckCompletion(jsonObject) { let divIdColosseum = "hk-colosseum"; let divIdDreamers = "hk-dreamers"; let divIdDreamNail = "hk-dreamnail"; + let divIdEquipment = "hk-equipment"; for (i in HKPlayerData) { COMPLETED_CHECK = SYMBOL_FALSE; @@ -119,6 +130,17 @@ function HKCheckCompletion(jsonObject) { fillHTML(divId, HK_DREAMNAIL[j]); delete HK_DREAMNAIL[j]; } + + // ---------------- Equipment --------------------- // + + divId = divIdEquipment; + + for (j in HK_EQUIPMENT) { + if (HKPlayerData[j] === true) currentDataTrue(); + else currentDataFalse(); + fillHTML(divId, HK_EQUIPMENT[j]); + delete HK_EQUIPMENT[j]; + } } } diff --git a/index.html b/index.html index 504a2eb..de8af0c 100644 --- a/index.html +++ b/index.html @@ -65,6 +65,10 @@

Dream Nail and Essence:

+ +
+

Equipment:

+
\ No newline at end of file