aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/profileviewer/data/APIDataJson.java6
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/profileviewer/level/task/MiscTaskLevel.java5
2 files changed, 10 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/data/APIDataJson.java b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/data/APIDataJson.java
index ff83d163..a99c6e0f 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/data/APIDataJson.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/data/APIDataJson.java
@@ -281,4 +281,10 @@ public class APIDataJson {
}
}
}
+
+ public WinterPlayerData winter_player_data = new WinterPlayerData();
+
+ public static class WinterPlayerData {
+ public int refined_jyrre_uses = 0;
+ }
}
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/level/task/MiscTaskLevel.java b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/level/task/MiscTaskLevel.java
index 59ee9abd..2970c107 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/level/task/MiscTaskLevel.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/level/task/MiscTaskLevel.java
@@ -65,12 +65,15 @@ public class MiscTaskLevel extends GuiTaskLevel {
int sbXpReaperPeppers = 0;
int sbXpUnlockedPowers = 0;
int sbXpAbiphone = 0;
+ int sbXpRefinedJyrre = 0;
if (data.accessory_bag_storage != null && data.accessory_bag_storage.unlocked_powers != null) {
sbXpAccessoryUpgrade = data.accessory_bag_storage.bag_upgrades_purchased * miscellaneousTask.get(
"accessory_bag_upgrades_xp").getAsInt();
sbXpReaperPeppers = data.player_data.reaper_peppers_eaten * miscellaneousTask.get("reaper_peppers_xp").getAsInt();
sbXpUnlockedPowers = data.accessory_bag_storage.unlocked_powers.size() * miscellaneousTask.get(
"unlocking_powers_xp").getAsInt();
+ sbXpRefinedJyrre =
+ data.winter_player_data.refined_jyrre_uses * miscellaneousTask.get("refined_jyrre_xp").getAsInt();
}
int sbXpDojo = 0;
@@ -185,7 +188,7 @@ public class MiscTaskLevel extends GuiTaskLevel {
lore.add(levelPage.buildLore("Accessory Bag Upgrades",
sbXpAccessoryUpgrade, 0, true
));
- int xpConsumableItems = sbXpReaperPeppers + sbXpBurger + sbXpSerum;
+ int xpConsumableItems = sbXpReaperPeppers + sbXpBurger + sbXpSerum + sbXpRefinedJyrre;
lore.add(levelPage.buildLore("Consumable Items",
xpConsumableItems, miscellaneousTask.get("consumable_items").getAsInt(), false
));