aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2021-09-03 20:04:01 -0400
committerbowser0000 <bowser0000@gmail.com>2021-09-03 20:04:01 -0400
commit6bc2a39f06664f55e8fe2eae06ddecb38173c6b5 (patch)
tree33d1ed149965b07ae8e0ad3773ebbdc79645b9fc /src
parent39741480a6321e49dd36f72b41d99478efe88184 (diff)
downloadSkyblockMod-6bc2a39f06664f55e8fe2eae06ddecb38173c6b5.tar.gz
SkyblockMod-6bc2a39f06664f55e8fe2eae06ddecb38173c6b5.tar.bz2
SkyblockMod-6bc2a39f06664f55e8fe2eae06ddecb38173c6b5.zip
Add S+ runs and rerolls to catacombs tracker
Diffstat (limited to 'src')
-rw-r--r--src/main/java/me/Danker/commands/LootCommand.java18
-rw-r--r--src/main/java/me/Danker/commands/ResetLootCommand.java9
-rw-r--r--src/main/java/me/Danker/features/loot/CatacombsTracker.java156
-rw-r--r--src/main/java/me/Danker/features/loot/LootDisplay.java92
-rw-r--r--src/main/java/me/Danker/handlers/ConfigHandler.java9
5 files changed, 218 insertions, 66 deletions
diff --git a/src/main/java/me/Danker/commands/LootCommand.java b/src/main/java/me/Danker/commands/LootCommand.java
index e91c656..617a957 100644
--- a/src/main/java/me/Danker/commands/LootCommand.java
+++ b/src/main/java/me/Danker/commands/LootCommand.java
@@ -568,6 +568,7 @@ public class LootCommand extends CommandBase {
if (showSession) {
player.addChatMessage(new ChatComponentText(EnumChatFormatting.DARK_RED + "" + EnumChatFormatting.BOLD + "-------------------\n" +
EnumChatFormatting.RED + EnumChatFormatting.BOLD + " Catacombs F1 Summary (Current Session):\n" +
+ EnumChatFormatting.GOLD + " S+ Runs: " + nf.format(CatacombsTracker.f1SPlusSession) + "\n" +
EnumChatFormatting.GOLD + " Recombobulator 3000s: " + nf.format(CatacombsTracker.recombobulatorsSession) + "\n" +
EnumChatFormatting.DARK_PURPLE + " Fuming Potato Books: " + nf.format(CatacombsTracker.fumingPotatoBooksSession) + "\n" +
EnumChatFormatting.BLUE + " Bonzo's Staffs: " + nf.format(CatacombsTracker.bonzoStaffsSession) + "\n" +
@@ -578,6 +579,7 @@ public class LootCommand extends CommandBase {
}
player.addChatMessage(new ChatComponentText(EnumChatFormatting.DARK_RED + "" + EnumChatFormatting.BOLD + "-------------------\n" +
EnumChatFormatting.RED + EnumChatFormatting.BOLD + " Catacombs F1 Summary:\n" +
+ EnumChatFormatting.GOLD + " S+ Runs: " + nf.format(CatacombsTracker.f1SPlus) + "\n" +
EnumChatFormatting.GOLD + " Recombobulator 3000s: " + nf.format(CatacombsTracker.recombobulators) + "\n" +
EnumChatFormatting.DARK_PURPLE + " Fuming Potato Books: " + nf.format(CatacombsTracker.fumingPotatoBooks) + "\n" +
EnumChatFormatting.BLUE + " Bonzo's Staffs: " + nf.format(CatacombsTracker.bonzoStaffs) + "\n" +
@@ -590,6 +592,7 @@ public class LootCommand extends CommandBase {
if (showSession) {
player.addChatMessage(new ChatComponentText(EnumChatFormatting.DARK_RED + "" + EnumChatFormatting.BOLD + "-------------------\n" +
EnumChatFormatting.RED + EnumChatFormatting.BOLD + " Catacombs F2 Summary (Current Session):\n" +
+ EnumChatFormatting.GOLD + " S+ Runs: " + nf.format(CatacombsTracker.f2SPlusSession) + "\n" +
EnumChatFormatting.GOLD + " Recombobulator 3000s: " + nf.format(CatacombsTracker.recombobulatorsSession) + "\n" +
EnumChatFormatting.DARK_PURPLE + " Fuming Potato Books: " + nf.format(CatacombsTracker.fumingPotatoBooksSession) + "\n" +
EnumChatFormatting.BLUE + " Scarf's Studies: " + nf.format(CatacombsTracker.scarfStudiesSession) + "\n" +
@@ -601,6 +604,7 @@ public class LootCommand extends CommandBase {
}
player.addChatMessage(new ChatComponentText(EnumChatFormatting.DARK_RED + "" + EnumChatFormatting.BOLD + "-------------------\n" +
EnumChatFormatting.RED + EnumChatFormatting.BOLD + " Catacombs F2 Summary:\n" +
+ EnumChatFormatting.GOLD + " S+ Runs: " + nf.format(CatacombsTracker.f2SPlus) + "\n" +
EnumChatFormatting.GOLD + " Recombobulator 3000s: " + nf.format(CatacombsTracker.recombobulators) + "\n" +
EnumChatFormatting.DARK_PURPLE + " Fuming Potato Books: " + nf.format(CatacombsTracker.fumingPotatoBooks) + "\n" +
EnumChatFormatting.BLUE + " Scarf's Studies: " + nf.format(CatacombsTracker.scarfStudies) + "\n" +
@@ -614,6 +618,7 @@ public class LootCommand extends CommandBase {
if (showSession) {
player.addChatMessage(new ChatComponentText(EnumChatFormatting.DARK_RED + "" + EnumChatFormatting.BOLD + "-------------------\n" +
EnumChatFormatting.RED + EnumChatFormatting.BOLD + " Catacombs F3 Summary (Current Session):\n" +
+ EnumChatFormatting.GOLD + " S+ Runs: " + nf.format(CatacombsTracker.f3SPlusSession) + "\n" +
EnumChatFormatting.GOLD + " Recombobulator 3000s: " + nf.format(CatacombsTracker.recombobulatorsSession) + "\n" +
EnumChatFormatting.DARK_PURPLE + " Fuming Potato Books: " + nf.format(CatacombsTracker.fumingPotatoBooksSession) + "\n" +
EnumChatFormatting.DARK_PURPLE + " Adaptive Helmets: " + nf.format(CatacombsTracker.adaptiveHelmsSession) + "\n" +
@@ -627,6 +632,7 @@ public class LootCommand extends CommandBase {
}
player.addChatMessage(new ChatComponentText(EnumChatFormatting.DARK_RED + "" + EnumChatFormatting.BOLD + "-------------------\n" +
EnumChatFormatting.RED + EnumChatFormatting.BOLD + " Catacombs F3 Summary:\n" +
+ EnumChatFormatting.GOLD + " S+ Runs: " + nf.format(CatacombsTracker.f3SPlus) + "\n" +
EnumChatFormatting.GOLD + " Recombobulator 3000s: " + nf.format(CatacombsTracker.recombobulators) + "\n" +
EnumChatFormatting.DARK_PURPLE + " Fuming Potato Books: " + nf.format(CatacombsTracker.fumingPotatoBooks) + "\n" +
EnumChatFormatting.DARK_PURPLE + " Adaptive Helmets: " + nf.format(CatacombsTracker.adaptiveHelms) + "\n" +
@@ -642,6 +648,7 @@ public class LootCommand extends CommandBase {
if (showSession) {
player.addChatMessage(new ChatComponentText(EnumChatFormatting.DARK_RED + "" + EnumChatFormatting.BOLD + "-------------------\n" +
EnumChatFormatting.RED + EnumChatFormatting.BOLD + " Catacombs F4 Summary (Current Session):\n" +
+ EnumChatFormatting.GOLD + " S+ Runs: " + nf.format(CatacombsTracker.f4SPlusSession) + "\n" +
EnumChatFormatting.GOLD + " Recombobulator 3000s: " + nf.format(CatacombsTracker.recombobulatorsSession) + "\n" +
EnumChatFormatting.DARK_PURPLE + " Fuming Potato Books: " + nf.format(CatacombsTracker.fumingPotatoBooksSession) + "\n" +
EnumChatFormatting.DARK_PURPLE + " Spirit Wings: " + nf.format(CatacombsTracker.spiritWingsSession) + "\n" +
@@ -658,6 +665,7 @@ public class LootCommand extends CommandBase {
}
player.addChatMessage(new ChatComponentText(EnumChatFormatting.DARK_RED + "" + EnumChatFormatting.BOLD + "-------------------\n" +
EnumChatFormatting.RED + EnumChatFormatting.BOLD + " Catacombs F4 Summary:\n" +
+ EnumChatFormatting.GOLD + " S+ Runs: " + nf.format(CatacombsTracker.f4SPlus) + "\n" +
EnumChatFormatting.GOLD + " Recombobulator 3000s: " + nf.format(CatacombsTracker.recombobulators) + "\n" +
EnumChatFormatting.DARK_PURPLE + " Fuming Potato Books: " + nf.format(CatacombsTracker.fumingPotatoBooks) + "\n" +
EnumChatFormatting.DARK_PURPLE + " Spirit Wings: " + nf.format(CatacombsTracker.spiritWings) + "\n" +
@@ -676,6 +684,7 @@ public class LootCommand extends CommandBase {
if (showSession) {
player.addChatMessage(new ChatComponentText(EnumChatFormatting.DARK_RED + "" + EnumChatFormatting.BOLD + "-------------------\n" +
EnumChatFormatting.RED + EnumChatFormatting.BOLD + " Catacombs F5 Summary (Current Session):\n" +
+ EnumChatFormatting.GOLD + " S+ Runs: " + nf.format(CatacombsTracker.f5SPlusSession) + "\n" +
EnumChatFormatting.GOLD + " Recombobulator 3000s: " + nf.format(CatacombsTracker.recombobulatorsSession) + "\n" +
EnumChatFormatting.BLUE + " Warped Stones: " + nf.format(CatacombsTracker.warpedStonesSession) + "\n" +
EnumChatFormatting.DARK_PURPLE + " Fuming Potato Books: " + nf.format(CatacombsTracker.fumingPotatoBooksSession) + "\n" +
@@ -693,6 +702,7 @@ public class LootCommand extends CommandBase {
}
player.addChatMessage(new ChatComponentText(EnumChatFormatting.DARK_RED + "" + EnumChatFormatting.BOLD + "-------------------\n" +
EnumChatFormatting.RED + EnumChatFormatting.BOLD + " Catacombs F5 Summary:\n" +
+ EnumChatFormatting.GOLD + " S+ Runs: " + nf.format(CatacombsTracker.f5SPlus) + "\n" +
EnumChatFormatting.GOLD + " Recombobulator 3000s: " + nf.format(CatacombsTracker.recombobulators) + "\n" +
EnumChatFormatting.DARK_PURPLE + " Fuming Potato Books: " + nf.format(CatacombsTracker.fumingPotatoBooks) + "\n" +
EnumChatFormatting.BLUE + " Warped Stones: " + nf.format(CatacombsTracker.warpedStones) + "\n" +
@@ -712,6 +722,7 @@ public class LootCommand extends CommandBase {
if (showSession) {
player.addChatMessage(new ChatComponentText(EnumChatFormatting.DARK_RED + "" + EnumChatFormatting.BOLD + "-------------------\n" +
EnumChatFormatting.RED + EnumChatFormatting.BOLD + " Catacombs F6 Summary (Current Session):\n" +
+ EnumChatFormatting.GOLD + " S+ Runs: " + nf.format(CatacombsTracker.f6SPlusSession) + "\n" +
EnumChatFormatting.GOLD + " Recombobulator 3000s: " + nf.format(CatacombsTracker.recombobulatorsSession) + "\n" +
EnumChatFormatting.DARK_PURPLE + " Fuming Potato Books: " + nf.format(CatacombsTracker.fumingPotatoBooksSession) + "\n" +
EnumChatFormatting.BLUE + " Ancient Roses: " + nf.format(CatacombsTracker.ancientRosesSession) + "\n" +
@@ -722,6 +733,7 @@ public class LootCommand extends CommandBase {
EnumChatFormatting.GOLD + " Necro Lord Leggings: " + nf.format(CatacombsTracker.necroLordLegsSession) + "\n" +
EnumChatFormatting.GOLD + " Necro Lord Boots: " + nf.format(CatacombsTracker.necroLordBootsSession) + "\n" +
EnumChatFormatting.GOLD + " Necro Swords: " + nf.format(CatacombsTracker.necroSwordsSession) + "\n" +
+ EnumChatFormatting.WHITE + " Rerolls: " + nf.format(CatacombsTracker.f6RerollsSession) + "\n" +
EnumChatFormatting.AQUA + " Coins Spent: " + Utils.getMoneySpent(CatacombsTracker.f6CoinsSpentSession) + "\n" +
EnumChatFormatting.AQUA + " Time Spent: " + Utils.getTimeBetween(0, CatacombsTracker.f6TimeSpentSession) + "\n" +
EnumChatFormatting.DARK_RED + EnumChatFormatting.BOLD + " -------------------"));
@@ -729,6 +741,7 @@ public class LootCommand extends CommandBase {
}
player.addChatMessage(new ChatComponentText(EnumChatFormatting.DARK_RED + "" + EnumChatFormatting.BOLD + "-------------------\n" +
EnumChatFormatting.RED + EnumChatFormatting.BOLD + " Catacombs F6 Summary:\n" +
+ EnumChatFormatting.GOLD + " S+ Runs: " + nf.format(CatacombsTracker.f6SPlus) + "\n" +
EnumChatFormatting.GOLD + " Recombobulator 3000s: " + nf.format(CatacombsTracker.recombobulators) + "\n" +
EnumChatFormatting.DARK_PURPLE + " Fuming Potato Books: " + nf.format(CatacombsTracker.fumingPotatoBooks) + "\n" +
EnumChatFormatting.BLUE + " Ancient Roses: " + nf.format(CatacombsTracker.ancientRoses) + "\n" +
@@ -739,6 +752,7 @@ public class LootCommand extends CommandBase {
EnumChatFormatting.GOLD + " Necro Lord Leggings: " + nf.format(CatacombsTracker.necroLordLegs) + "\n" +
EnumChatFormatting.GOLD + " Necro Lord Boots: " + nf.format(CatacombsTracker.necroLordBoots) + "\n" +
EnumChatFormatting.GOLD + " Necro Swords: " + nf.format(CatacombsTracker.necroSwords) + "\n" +
+ EnumChatFormatting.WHITE + " Rerolls: " + nf.format(CatacombsTracker.f6Rerolls) + "\n" +
EnumChatFormatting.AQUA + " Coins Spent: " + Utils.getMoneySpent(CatacombsTracker.f6CoinsSpent) + "\n" +
EnumChatFormatting.AQUA + " Time Spent: " + Utils.getTimeBetween(0, CatacombsTracker.f6TimeSpent) + "\n" +
EnumChatFormatting.DARK_RED + EnumChatFormatting.BOLD + " -------------------"));
@@ -748,6 +762,7 @@ public class LootCommand extends CommandBase {
if (showSession) {
player.addChatMessage(new ChatComponentText(EnumChatFormatting.DARK_RED + "" + EnumChatFormatting.BOLD + "-------------------\n" +
EnumChatFormatting.RED + EnumChatFormatting.BOLD + " Catacombs F7 Summary (Current Session):\n" +
+ EnumChatFormatting.GOLD + " S+ Runs: " + nf.format(CatacombsTracker.f7SPlusSession) + "\n" +
EnumChatFormatting.GOLD + " Recombobulator 3000s: " + nf.format(CatacombsTracker.recombobulatorsSession) + "\n" +
EnumChatFormatting.DARK_PURPLE + " Fuming Potato Books: " + nf.format(CatacombsTracker.fumingPotatoBooksSession) + "\n" +
EnumChatFormatting.DARK_PURPLE + " Wither Bloods: " + nf.format(CatacombsTracker.witherBloodsSession) + "\n" +
@@ -761,6 +776,7 @@ public class LootCommand extends CommandBase {
EnumChatFormatting.GOLD + " Wither Chesplates: " + nf.format(CatacombsTracker.witherChestsSession) + "\n" +
EnumChatFormatting.GOLD + " Wither Leggings: " + nf.format(CatacombsTracker.witherLegsSession) + "\n" +
EnumChatFormatting.GOLD + " Wither Boots: " + nf.format(CatacombsTracker.witherBootsSession) + "\n" +
+ EnumChatFormatting.WHITE + " Rerolls: " + nf.format(CatacombsTracker.f7RerollsSession) + "\n" +
EnumChatFormatting.AQUA + " Coins Spent: " + Utils.getMoneySpent(CatacombsTracker.f7CoinsSpentSession) + "\n" +
EnumChatFormatting.AQUA + " Time Spent: " + Utils.getTimeBetween(0, CatacombsTracker.f7TimeSpentSession) + "\n" +
EnumChatFormatting.DARK_RED + EnumChatFormatting.BOLD + " -------------------"));
@@ -768,6 +784,7 @@ public class LootCommand extends CommandBase {
}
player.addChatMessage(new ChatComponentText(EnumChatFormatting.DARK_RED + "" + EnumChatFormatting.BOLD + "-------------------\n" +
EnumChatFormatting.RED + EnumChatFormatting.BOLD + " Catacombs F7 Summary:\n" +
+ EnumChatFormatting.GOLD + " S+ Runs: " + nf.format(CatacombsTracker.f7SPlus) + "\n" +
EnumChatFormatting.GOLD + " Recombobulator 3000s: " + nf.format(CatacombsTracker.recombobulators) + "\n" +
EnumChatFormatting.DARK_PURPLE + " Fuming Potato Books: " + nf.format(CatacombsTracker.fumingPotatoBooks) + "\n" +
EnumChatFormatting.DARK_PURPLE + " Wither Bloods: " + nf.format(CatacombsTracker.witherBloods) + "\n" +
@@ -781,6 +798,7 @@ public class LootCommand extends CommandBase {
EnumChatFormatting.GOLD + " Wither Chesplates: " + nf.format(CatacombsTracker.witherChests) + "\n" +
EnumChatFormatting.GOLD + " Wither Leggings: " + nf.format(CatacombsTracker.witherLegs) + "\n" +
EnumChatFormatting.GOLD + " Wither Boots: " + nf.format(CatacombsTracker.witherBoots) + "\n" +
+ EnumChatFormatting.WHITE + " Rerolls: " + nf.format(CatacombsTracker.f7Rerolls) + "\n" +
EnumChatFormatting.AQUA + " Coins Spent: " + Utils.getMoneySpent(CatacombsTracker.f7CoinsSpent) + "\n" +
EnumChatFormatting.AQUA + " Time Spent: " + Utils.getTimeBetween(0, CatacombsTracker.f7TimeSpent) + "\n" +
EnumChatFormatting.DARK_RED + EnumChatFormatting.BOLD + " -------------------"));
diff --git a/src/main/java/me/Danker/commands/ResetLootCommand.java b/src/main/java/me/Danker/commands/ResetLootCommand.java
index f64ceb1..2c5c947 100644
--- a/src/main/java/me/Danker/commands/ResetLootCommand.java
+++ b/src/main/java/me/Danker/commands/ResetLootCommand.java
@@ -260,12 +260,15 @@ public class ResetLootCommand extends CommandBase {
static void resetCatacombs() {
CatacombsTracker.recombobulatorsSession = 0;
CatacombsTracker.fumingPotatoBooksSession = 0;
+ CatacombsTracker.f1SPlusSession = 0;
CatacombsTracker.bonzoStaffsSession = 0;
CatacombsTracker.f1CoinsSpentSession = 0;
CatacombsTracker.f1TimeSpentSession = 0;
+ CatacombsTracker.f2SPlusSession = 0;
CatacombsTracker.scarfStudiesSession = 0;
CatacombsTracker.f2CoinsSpentSession = 0;
CatacombsTracker.f2TimeSpentSession = 0;
+ CatacombsTracker.f3SPlusSession = 0;
CatacombsTracker.adaptiveHelmsSession = 0;
CatacombsTracker.adaptiveChestsSession = 0;
CatacombsTracker.adaptiveLegsSession = 0;
@@ -273,6 +276,7 @@ public class ResetLootCommand extends CommandBase {
CatacombsTracker.adaptiveSwordsSession = 0;
CatacombsTracker.f3CoinsSpentSession = 0;
CatacombsTracker.f3TimeSpentSession = 0;
+ CatacombsTracker.f4SPlusSession = 0;
CatacombsTracker.spiritWingsSession = 0;
CatacombsTracker.spiritBonesSession = 0;
CatacombsTracker.spiritBootsSession = 0;
@@ -280,6 +284,7 @@ public class ResetLootCommand extends CommandBase {
CatacombsTracker.epicSpiritPetsSession = 0;
CatacombsTracker.f4CoinsSpentSession = 0;
CatacombsTracker.f4TimeSpentSession = 0;
+ CatacombsTracker.f5SPlusSession = 0;
CatacombsTracker.warpedStonesSession = 0;
CatacombsTracker.shadowAssHelmsSession = 0;
CatacombsTracker.shadowAssChestsSession = 0;
@@ -289,6 +294,7 @@ public class ResetLootCommand extends CommandBase {
CatacombsTracker.shadowFurysSession = 0;
CatacombsTracker.f5CoinsSpentSession = 0;
CatacombsTracker.f5TimeSpentSession = 0;
+ CatacombsTracker.f6SPlusSession = 0;
CatacombsTracker.ancientRosesSession = 0;
CatacombsTracker.precursorEyesSession = 0;
CatacombsTracker.giantsSwordsSession = 0;
@@ -297,8 +303,10 @@ public class ResetLootCommand extends CommandBase {
CatacombsTracker.necroLordLegsSession = 0;
CatacombsTracker.necroLordBootsSession = 0;
CatacombsTracker.necroSwordsSession = 0;
+ CatacombsTracker.f6RerollsSession = 0;
CatacombsTracker.f6CoinsSpentSession = 0;
CatacombsTracker.f6TimeSpentSession = 0;
+ CatacombsTracker.f7SPlusSession = 0;
CatacombsTracker.witherBloodsSession = 0;
CatacombsTracker.witherCloaksSession = 0;
CatacombsTracker.implosionsSession = 0;
@@ -310,6 +318,7 @@ public class ResetLootCommand extends CommandBase {
CatacombsTracker.witherChestsSession = 0;
CatacombsTracker.witherLegsSession = 0;
CatacombsTracker.witherBootsSession = 0;
+ CatacombsTracker.f7RerollsSession = 0;
CatacombsTracker.f7CoinsSpentSession = 0;
CatacombsTracker.f7TimeSpentSession = 0;
ConfigHandler.deleteCategory("catacombs");
diff --git a/src/main/java/me/Danker/features/loot/CatacombsTracker.java b/src/main/java/me/Danker/features/loot/CatacombsTracker.java
index 9de197c..a581db5 100644
--- a/src/main/java/me/Danker/features/loot/CatacombsTracker.java
+++ b/src/main/java/me/Danker/features/loot/CatacombsTracker.java
@@ -18,15 +18,18 @@ public class CatacombsTracker {
public static int recombobulators;
public static int fumingPotatoBooks;
// F1
+ public static int f1SPlus;
public static int bonzoStaffs;
public static double f1CoinsSpent;
public static double f1TimeSpent;
// F2
+ public static int f2SPlus;
public static int scarfStudies;
public static int adaptiveSwords;
public static double f2CoinsSpent;
public static double f2TimeSpent;
// F3
+ public static int f3SPlus;
public static int adaptiveHelms;
public static int adaptiveChests;
public static int adaptiveLegs;
@@ -34,6 +37,7 @@ public class CatacombsTracker {
public static double f3CoinsSpent;
public static double f3TimeSpent;
// F4
+ public static int f4SPlus;
public static int spiritWings;
public static int spiritBones;
public static int spiritBoots;
@@ -44,6 +48,7 @@ public class CatacombsTracker {
public static double f4CoinsSpent;
public static double f4TimeSpent;
// F5
+ public static int f5SPlus;
public static int warpedStones;
public static int shadowAssHelms;
public static int shadowAssChests;
@@ -55,6 +60,7 @@ public class CatacombsTracker {
public static double f5CoinsSpent;
public static double f5TimeSpent;
// F6
+ public static int f6SPlus;
public static int ancientRoses;
public static int precursorEyes;
public static int giantsSwords;
@@ -63,9 +69,11 @@ public class CatacombsTracker {
public static int necroLordLegs;
public static int necroLordBoots;
public static int necroSwords;
+ public static int f6Rerolls;
public static double f6CoinsSpent;
public static double f6TimeSpent;
// F7
+ public static int f7SPlus;
public static int witherBloods;
public static int witherCloaks;
public static int implosions;
@@ -77,6 +85,7 @@ public class CatacombsTracker {
public static int witherChests;
public static int witherLegs;
public static int witherBoots;
+ public static int f7Rerolls;
public static double f7CoinsSpent;
public static double f7TimeSpent;
@@ -84,15 +93,18 @@ public class CatacombsTracker {
public static int recombobulatorsSession = 0;
public static int fumingPotatoBooksSession = 0;
// F1
+ public static int f1SPlusSession = 0;
public static int bonzoStaffsSession = 0;
public static double f1CoinsSpentSession = 0;
public static double f1TimeSpentSession = 0;
// F2
+ public static int f2SPlusSession = 0;
public static int scarfStudiesSession = 0;
public static int adaptiveSwordsSession = 0;
public static double f2CoinsSpentSession = 0;
public static double f2TimeSpentSession = 0;
// F3
+ public static int f3SPlusSession = 0;
public static int adaptiveHelmsSession = 0;
public static int adaptiveChestsSession = 0;
public static int adaptiveLegsSession = 0;
@@ -100,6 +112,7 @@ public class CatacombsTracker {
public static double f3CoinsSpentSession = 0;
public static double f3TimeSpentSession = 0;
// F4
+ public static int f4SPlusSession = 0;
public static int spiritWingsSession = 0;
public static int spiritBonesSession = 0;
public static int spiritBootsSession = 0;
@@ -110,6 +123,7 @@ public class CatacombsTracker {
public static double f4CoinsSpentSession = 0;
public static double f4TimeSpentSession = 0;
// F5
+ public static int f5SPlusSession = 0;
public static int warpedStonesSession = 0;
public static int shadowAssHelmsSession = 0;
public static int shadowAssChestsSession = 0;
@@ -121,6 +135,7 @@ public class CatacombsTracker {
public static double f5CoinsSpentSession = 0;
public static double f5TimeSpentSession = 0;
// F6
+ public static int f6SPlusSession = 0;
public static int ancientRosesSession = 0;
public static int precursorEyesSession = 0;
public static int giantsSwordsSession = 0;
@@ -129,9 +144,11 @@ public class CatacombsTracker {
public static int necroLordLegsSession = 0;
public static int necroLordBootsSession = 0;
public static int necroSwordsSession = 0;
+ public static int f6RerollsSession = 0;
public static double f6CoinsSpentSession = 0;
public static double f6TimeSpentSession = 0;
// F7
+ public static int f7SPlusSession = 0;
public static int witherBloodsSession = 0;
public static int witherCloaksSession = 0;
public static int implosionsSession = 0;
@@ -143,6 +160,7 @@ public class CatacombsTracker {
public static int witherChestsSession = 0;
public static int witherLegsSession = 0;
public static int witherBootsSession = 0;
+ public static int f7RerollsSession = 0;
public static double f7CoinsSpentSession = 0;
public static double f7TimeSpentSession = 0;
@@ -152,6 +170,45 @@ public class CatacombsTracker {
if (!Utils.inSkyblock) return;
if (event.type == 2) return;
+
+ if (message.contains(" Team Score: ") && message.contains("(S+)")) {
+ List<String> scoreboard = ScoreboardHandler.getSidebarLines();
+ for (String s : scoreboard) {
+ String sCleaned = ScoreboardHandler.cleanSB(s);
+ if (sCleaned.contains("The Catacombs (")) {
+ if (sCleaned.contains("F1")) {
+ f1SPlus++;
+ f1SPlusSession++;
+ ConfigHandler.writeDoubleConfig("catacombs", "floorOneSPlus", f1SPlus);
+ } else if (sCleaned.contains("F2")) {
+ f2SPlus++;
+ f2SPlusSession++;
+ ConfigHandler.writeDoubleConfig("catacombs", "floorTwoSPlus", f2SPlus);
+ } else if (sCleaned.contains("F3")) {
+ f3SPlus++;
+ f3SPlusSession++;
+ ConfigHandler.writeDoubleConfig("catacombs", "floorThreeSPlus", f3SPlus);
+ } else if (sCleaned.contains("F4")) {
+ f4SPlus++;
+ f4SPlusSession++;
+ ConfigHandler.writeDoubleConfig("catacombs", "floorFourSPlus", f4SPlus);
+ } else if (sCleaned.contains("F5")) {
+ f5SPlus++;
+ f5SPlusSession++;
+ ConfigHandler.writeDoubleConfig("catacombs", "floorFiveSPlus", f5SPlus);
+ } else if (sCleaned.contains("F6")) {
+ f6SPlus++;
+ f6SPlusSession++;
+ ConfigHandler.writeDoubleConfig("catacombs", "floorSixSPlus", f6SPlus);
+ } else if (sCleaned.contains("F7")) {
+ f7SPlus++;
+ f7SPlusSession++;
+ ConfigHandler.writeDoubleConfig("catacombs", "floorSevenSPlus", f7SPlus);
+ }
+ }
+ }
+ }
+
if (message.contains(":")) return;
if (message.contains(" ")) {
@@ -382,47 +439,70 @@ public class CatacombsTracker {
public void onSlotClick(ChestSlotClickedEvent event) {
ItemStack item = event.item;
- if (event.inventoryName.endsWith(" Chest") && item != null && item.getDisplayName().contains("Open Reward Chest")) {
- List<String> tooltip = item.getTooltip(Minecraft.getMinecraft().thePlayer, Minecraft.getMinecraft().gameSettings.advancedItemTooltips);
- for (String lineUnclean : tooltip) {
- String line = StringUtils.stripControlCodes(lineUnclean);
- if (line.contains("FREE")) {
- break;
- } else if (line.contains(" Coins")) {
- int coinsSpent = Integer.parseInt(line.substring(0, line.indexOf(" ")).replaceAll(",", ""));
+ if (event.inventoryName.endsWith(" Chest") && item != null) {
+ if (item.getDisplayName().contains("Open Reward Chest")) {
+ List<String> tooltip = item.getTooltip(Minecraft.getMinecraft().thePlayer, Minecraft.getMinecraft().gameSettings.advancedItemTooltips);
+ for (String lineUnclean : tooltip) {
+ String line = StringUtils.stripControlCodes(lineUnclean);
+ if (line.contains("FREE")) {
+ break;
+ } else if (line.contains(" Coins") && !line.contains("NOTE:")) {
+ int coinsSpent = Integer.parseInt(line.substring(0, line.indexOf(" ")).replaceAll(",", ""));
- if (Utils.isInScoreboard("The Catacombs (")) {
- if (Utils.isInScoreboard("F1")) {
- f1CoinsSpent += coinsSpent;
- f1CoinsSpentSession += coinsSpent;
- ConfigHandler.writeDoubleConfig("catacombs", "floorOneCoins", f1CoinsSpent);
- } else if (Utils.isInScoreboard("F2")) {
- f2CoinsSpent += coinsSpent;
- f2CoinsSpentSession += coinsSpent;
- ConfigHandler.writeDoubleConfig("catacombs", "floorTwoCoins", f2CoinsSpent);
- } else if (Utils.isInScoreboard("F3")) {
- f3CoinsSpent += coinsSpent;
- f3CoinsSpentSession += coinsSpent;
- ConfigHandler.writeDoubleConfig("catacombs", "floorThreeCoins", f3CoinsSpent);
- } else if (Utils.isInScoreboard("F4")) {
- f4CoinsSpent += coinsSpent;
- f4CoinsSpentSession += coinsSpent;
- ConfigHandler.writeDoubleConfig("catacombs", "floorFourCoins", f4CoinsSpent);
- } else if (Utils.isInScoreboard("F5")) {
- f5CoinsSpent += coinsSpent;
- f5CoinsSpentSession += coinsSpent;
- ConfigHandler.writeDoubleConfig("catacombs", "floorFiveCoins", f5CoinsSpent);
- } else if (Utils.isInScoreboard("F6")) {
- f6CoinsSpent += coinsSpent;
- f6CoinsSpentSession += coinsSpent;
- ConfigHandler.writeDoubleConfig("catacombs", "floorSixCoins", f6CoinsSpent);
- } else if (Utils.isInScoreboard("F7")) {
- f7CoinsSpent += coinsSpent;
- f7CoinsSpentSession += coinsSpent;
- ConfigHandler.writeDoubleConfig("catacombs", "floorSevenCoins", f7CoinsSpent);
+ List<String> scoreboard = ScoreboardHandler.getSidebarLines();
+ for (String s : scoreboard) {
+ String sCleaned = ScoreboardHandler.cleanSB(s);
+ if (sCleaned.contains("The Catacombs (")) {
+ if (sCleaned.contains("F1")) {
+ f1CoinsSpent += coinsSpent;
+ f1CoinsSpentSession += coinsSpent;
+ ConfigHandler.writeDoubleConfig("catacombs", "floorOneCoins", f1CoinsSpent);
+ } else if (sCleaned.contains("F2")) {
+ f2CoinsSpent += coinsSpent;
+ f2CoinsSpentSession += coinsSpent;
+ ConfigHandler.writeDoubleConfig("catacombs", "floorTwoCoins", f2CoinsSpent);
+ } else if (sCleaned.contains("F3")) {
+ f3CoinsSpent += coinsSpent;
+ f3CoinsSpentSession += coinsSpent;
+ ConfigHandler.writeDoubleConfig("catacombs", "floorThreeCoins", f3CoinsSpent);
+ } else if (sCleaned.contains("F4")) {
+ f4CoinsSpent += coinsSpent;
+ f4CoinsSpentSession += coinsSpent;
+ ConfigHandler.writeDoubleConfig("catacombs", "floorFourCoins", f4CoinsSpent);
+ } else if (sCleaned.contains("F5")) {
+ f5CoinsSpent += coinsSpent;
+ f5CoinsSpentSession += coinsSpent;
+ ConfigHandler.writeDoubleConfig("catacombs", "floorFiveCoins", f5CoinsSpent);
+ } else if (sCleaned.contains("F6")) {
+ f6CoinsSpent += coinsSpent;
+ f6CoinsSpentSession += coinsSpent;
+ ConfigHandler.writeDoubleConfig("catacombs", "floorSixCoins", f6CoinsSpent);
+ } else if (sCleaned.contains("F7")) {
+ f7CoinsSpent += coinsSpent;
+ f7CoinsSpentSession += coinsSpent;
+ ConfigHandler.writeDoubleConfig("catacombs", "floorSevenCoins", f7CoinsSpent);
+ }
+ }
+ break;
+ }
+ }
+ }
+ } else if (item.getDisplayName().contains("Reroll Chest")) {
+ List<String> scoreboard = ScoreboardHandler.getSidebarLines();
+ for (String s : scoreboard) {
+ String sCleaned = ScoreboardHandler.cleanSB(s);
+ if (sCleaned.contains("The Catacombs (")) {
+ if (sCleaned.contains("F6")) {
+ f6Rerolls++;
+ f6RerollsSession++;
+ ConfigHandler.writeDoubleConfig("catacombs", "floorSixRerolls", f6Rerolls);
+ } else if (sCleaned.contains("F7")) {
+ f7Rerolls++;
+ f7RerollsSession++;
+ ConfigHandler.writeDoubleConfig("catacombs", "floorSevenRerolls", f7Rerolls);
}
+ break;
}
- break;
}
}
}
diff --git a/src/main/java/me/Danker/features/loot/LootDisplay.java b/src/main/java/me/Danker/features/loot/LootDisplay.java
index b1c584d..d7a5f74 100644
--- a/src/main/java/me/Danker/features/loot/LootDisplay.java
+++ b/src/main/java/me/Danker/features/loot/LootDisplay.java
@@ -725,37 +725,43 @@ public class LootDisplay {
EnumChatFormatting.GOLD + nf.format(MythologicalTracker.minosInquisitorsSession);
break;
case "catacombs_floor_one":
- dropsText = EnumChatFormatting.GOLD + "Recombobulators:\n" +
+ dropsText = EnumChatFormatting.GOLD + "S+ Runs:\n" +
+ EnumChatFormatting.GOLD + "Recombobulators:\n" +
EnumChatFormatting.DARK_PURPLE + "Fuming Potato Books:\n" +
EnumChatFormatting.BLUE + "Bonzo's Staffs:\n" +
EnumChatFormatting.AQUA + "Coins Spent:\n" +
EnumChatFormatting.AQUA + "Time Spent:";
- countText = EnumChatFormatting.GOLD + nf.format(CatacombsTracker.recombobulators) + "\n" +
+ countText = EnumChatFormatting.GOLD + nf.format(CatacombsTracker.f1SPlus) + "\n" +
+ EnumChatFormatting.GOLD + nf.format(CatacombsTracker.recombobulators) + "\n" +
EnumChatFormatting.DARK_PURPLE + nf.format(CatacombsTracker.fumingPotatoBooks) + "\n" +
EnumChatFormatting.BLUE + nf.format(CatacombsTracker.bonzoStaffs) + "\n" +
EnumChatFormatting.AQUA + Utils.getMoneySpent(CatacombsTracker.f1CoinsSpent) + "\n" +
EnumChatFormatting.AQUA + Utils.getTimeBetween(0, CatacombsTracker.f1TimeSpent);
break;
case "catacombs_floor_one_session":
- dropsText = EnumChatFormatting.GOLD + "Recombobulators:\n" +
+ dropsText = EnumChatFormatting.GOLD + "S+ Runs:\n" +
+ EnumChatFormatting.GOLD + "Recombobulators:\n" +
EnumChatFormatting.DARK_PURPLE + "Fuming Potato Books:\n" +
EnumChatFormatting.BLUE + "Bonzo's Staffs:\n" +
EnumChatFormatting.AQUA + "Coins Spent:\n" +
EnumChatFormatting.AQUA + "Time Spent:";
- countText = EnumChatFormatting.GOLD + nf.format(CatacombsTracker.recombobulatorsSession) + "\n" +
+ countText = EnumChatFormatting.GOLD + nf.format(CatacombsTracker.f1SPlusSession) + "\n" +
+ EnumChatFormatting.GOLD + nf.format(CatacombsTracker.recombobulatorsSession) + "\n" +
EnumChatFormatting.DARK_PURPLE + nf.format(CatacombsTracker.fumingPotatoBooksSession) + "\n" +
EnumChatFormatting.BLUE + nf.format(CatacombsTracker.bonzoStaffsSession) + "\n" +
EnumChatFormatting.AQUA + Utils.getMoneySpent(CatacombsTracker.f1CoinsSpentSession) + "\n" +
EnumChatFormatting.AQUA + Utils.getTimeBetween(0, CatacombsTracker.f1TimeSpentSession);
break;
case "catacombs_floor_two":
- dropsText = EnumChatFormatting.GOLD + "Recombobulators:\n" +
+ dropsText = EnumChatFormatting.GOLD + "S+ Runs:\n" +
+ EnumChatFormatting.GOLD + "Recombobulators:\n" +
EnumChatFormatting.DARK_PURPLE + "Fuming Potato Books:\n" +
EnumChatFormatting.BLUE + "Scarf's Studies:\n" +
EnumChatFormatting.DARK_PURPLE + "Adaptive Blades:\n" +
EnumChatFormatting.AQUA + "Coins Spent:\n" +
EnumChatFormatting.AQUA + "Time Spent:";
- countText = EnumChatFormatting.GOLD + nf.format(CatacombsTracker.recombobulators) + "\n" +
+ countText = EnumChatFormatting.GOLD + nf.format(CatacombsTracker.f2SPlus) + "\n" +
+ EnumChatFormatting.GOLD + nf.format(CatacombsTracker.recombobulators) + "\n" +
EnumChatFormatting.DARK_PURPLE + nf.format(CatacombsTracker.fumingPotatoBooks) + "\n" +
EnumChatFormatting.BLUE + nf.format(CatacombsTracker.scarfStudies) + "\n" +
EnumChatFormatting.DARK_PURPLE + nf.format(CatacombsTracker.adaptiveSwords) + "\n" +
@@ -763,13 +769,15 @@ public class LootDisplay {
EnumChatFormatting.AQUA + Utils.getTimeBetween(0, CatacombsTracker.f2TimeSpent);
break;
case "catacombs_floor_two_session":
- dropsText = EnumChatFormatting.GOLD + "Recombobulators:\n" +
+ dropsText = EnumChatFormatting.GOLD + "S+ Runs:\n" +
+ EnumChatFormatting.GOLD + "Recombobulators:\n" +
EnumChatFormatting.DARK_PURPLE + "Fuming Potato Books:\n" +
EnumChatFormatting.BLUE + "Scarf's Studies:\n" +
EnumChatFormatting.DARK_PURPLE + "Adaptive Blades:\n" +
EnumChatFormatting.AQUA + "Coins Spent:\n" +
EnumChatFormatting.AQUA + "Time Spent:";
- countText = EnumChatFormatting.GOLD + nf.format(CatacombsTracker.recombobulatorsSession) + "\n" +
+ countText = EnumChatFormatting.GOLD + nf.format(CatacombsTracker.f2SPlusSession) + "\n" +
+ EnumChatFormatting.GOLD + nf.format(CatacombsTracker.recombobulatorsSession) + "\n" +
EnumChatFormatting.DARK_PURPLE + nf.format(CatacombsTracker.fumingPotatoBooksSession) + "\n" +
EnumChatFormatting.BLUE + nf.format(CatacombsTracker.scarfStudiesSession) + "\n" +
EnumChatFormatting.DARK_PURPLE + nf.format(CatacombsTracker.adaptiveSwordsSession) + "\n" +
@@ -777,7 +785,8 @@ public class LootDisplay {
EnumChatFormatting.AQUA + Utils.getTimeBetween(0, CatacombsTracker.f2TimeSpentSession);
break;
case "catacombs_floor_three":
- dropsText = EnumChatFormatting.GOLD + "Recombobulators:\n" +
+ dropsText = EnumChatFormatting.GOLD + "S+ Runs:\n" +
+ EnumChatFormatting.GOLD + "Recombobulators:\n" +
EnumChatFormatting.DARK_PURPLE + "Fuming Potato Books:\n" +
EnumChatFormatting.DARK_PURPLE + "Adaptive Helmets:\n" +
EnumChatFormatting.DARK_PURPLE + "Adaptive Chestplates:\n" +
@@ -785,7 +794,8 @@ public class LootDisplay {
EnumChatFormatting.DARK_PURPLE + "Adaptive Boots:\n" +
EnumChatFormatting.AQUA + "Coins Spent:\n" +
EnumChatFormatting.AQUA + "Time Spent:";
- countText = EnumChatFormatting.GOLD + nf.format(CatacombsTracker.recombobulators) + "\n" +
+ countText = EnumChatFormatting.GOLD + nf.format(CatacombsTracker.f3SPlus) + "\n" +
+ EnumChatFormatting.GOLD + nf.format(CatacombsTracker.recombobulators) + "\n" +
EnumChatFormatting.DARK_PURPLE + nf.format(CatacombsTracker.fumingPotatoBooks) + "\n" +
EnumChatFormatting.DARK_PURPLE + nf.format(CatacombsTracker.adaptiveHelms) + "\n" +
EnumChatFormatting.DARK_PURPLE + nf.format(CatacombsTracker.adaptiveChests) + "\n" +
@@ -795,7 +805,8 @@ public class LootDisplay {
EnumChatFormatting.AQUA + Utils.getTimeBetween(0, CatacombsTracker.f3TimeSpent);
break;
case "catacombs_floor_three_session":
- dropsText = EnumChatFormatting.GOLD + "Recombobulators:\n" +
+ dropsText = EnumChatFormatting.GOLD + "S+ Runs:\n" +
+ EnumChatFormatting.GOLD + "Recombobulators:\n" +
EnumChatFormatting.DARK_PURPLE + "Fuming Potato Books:\n" +
EnumChatFormatting.DARK_PURPLE + "Adaptive Helmets:\n" +
EnumChatFormatting.DARK_PURPLE + "Adaptive Chestplates:\n" +
@@ -803,7 +814,8 @@ public class LootDisplay {
EnumChatFormatting.DARK_PURPLE + "Adaptive Boots:\n" +
EnumChatFormatting.AQUA + "Coins Spent:\n" +
EnumChatFormatting.AQUA + "Time Spent:";
- countText = EnumChatFormatting.GOLD + nf.format(CatacombsTracker.recombobulatorsSession) + "\n" +
+ countText = EnumChatFormatting.GOLD + nf.format(CatacombsTracker.f3SPlusSession) + "\n" +
+ EnumChatFormatting.GOLD + nf.format(CatacombsTracker.recombobulatorsSession) + "\n" +
EnumChatFormatting.DARK_PURPLE + nf.format(CatacombsTracker.fumingPotatoBooksSession) + "\n" +
EnumChatFormatting.DARK_PURPLE + nf.format(CatacombsTracker.adaptiveHelmsSession) + "\n" +
EnumChatFormatting.DARK_PURPLE + nf.format(CatacombsTracker.adaptiveChestsSession) + "\n" +
@@ -813,7 +825,8 @@ public class LootDisplay {
EnumChatFormatting.AQUA + Utils.getTimeBetween(0, CatacombsTracker.f3TimeSpentSession);
break;
case "catacombs_floor_four":
- dropsText = EnumChatFormatting.GOLD + "Recombobulators:\n" +
+ dropsText = EnumChatFormatting.GOLD + "S+ Runs:\n" +
+ EnumChatFormatting.GOLD + "Recombobulators:\n" +
EnumChatFormatting.DARK_PURPLE + "Fuming Potato Books:\n" +
EnumChatFormatting.DARK_PURPLE + "Spirit Wings:\n" +
EnumChatFormatting.DARK_PURPLE + "Spirit Bones:\n" +
@@ -824,7 +837,8 @@ public class LootDisplay {
EnumChatFormatting.GOLD + "Leg Spirit Pets:\n" +
EnumChatFormatting.AQUA + "Coins Spent:\n" +
EnumChatFormatting.AQUA + "Time Spent:";
- countText = EnumChatFormatting.GOLD + nf.format(CatacombsTracker.recombobulators) + "\n" +
+ countText = EnumChatFormatting.GOLD + nf.format(CatacombsTracker.f4SPlus) + "\n" +
+ EnumChatFormatting.GOLD + nf.format(CatacombsTracker.recombobulators) + "\n" +
EnumChatFormatting.DARK_PURPLE + nf.format(CatacombsTracker.fumingPotatoBooks) + "\n" +
EnumChatFormatting.DARK_PURPLE + nf.format(CatacombsTracker.spiritWings) + "\n" +
EnumChatFormatting.DARK_PURPLE + nf.format(CatacombsTracker.spiritBones) + "\n" +
@@ -837,7 +851,8 @@ public class LootDisplay {
EnumChatFormatting.AQUA + Utils.getTimeBetween(0, CatacombsTracker.f4TimeSpent);
break;
case "catacombs_floor_four_session":
- dropsText = EnumChatFormatting.GOLD + "Recombobulators:\n" +
+ dropsText = EnumChatFormatting.GOLD + "S+ Runs:\n" +
+ EnumChatFormatting.GOLD + "Recombobulators:\n" +
EnumChatFormatting.DARK_PURPLE + "Fuming Potato Books:\n" +
EnumChatFormatting.DARK_PURPLE + "Spirit Wings:\n" +
EnumChatFormatting.DARK_PURPLE + "Spirit Bones:\n" +
@@ -848,7 +863,8 @@ public class LootDisplay {
EnumChatFormatting.GOLD + "Leg Spirit Pets:\n" +
EnumChatFormatting.AQUA + "Coins Spent:\n" +
EnumChatFormatting.AQUA + "Time Spent:";
- countText = EnumChatFormatting.GOLD + nf.format(CatacombsTracker.recombobulatorsSession) + "\n" +
+ countText = EnumChatFormatting.GOLD + nf.format(CatacombsTracker.f4SPlusSession) + "\n" +
+ EnumChatFormatting.GOLD + nf.format(CatacombsTracker.recombobulatorsSession) + "\n" +
EnumChatFormatting.DARK_PURPLE + nf.format(CatacombsTracker.fumingPotatoBooksSession) + "\n" +
EnumChatFormatting.DARK_PURPLE + nf.format(CatacombsTracker.spiritWingsSession) + "\n" +
EnumChatFormatting.DARK_PURPLE + nf.format(CatacombsTracker.spiritBonesSession) + "\n" +
@@ -861,7 +877,8 @@ public class LootDisplay {
EnumChatFormatting.AQUA + Utils.getTimeBetween(0, CatacombsTracker.f4TimeSpentSession);
break;
case "catacombs_floor_five":
- dropsText = EnumChatFormatting.GOLD + "Recombobulators:\n" +
+ dropsText = EnumChatFormatting.GOLD + "S+ Runs:\n" +
+ EnumChatFormatting.GOLD + "Recombobulators:\n" +
EnumChatFormatting.DARK_PURPLE + "Fuming Potato Books:\n" +
EnumChatFormatting.BLUE + "Warped Stones:\n" +
EnumChatFormatting.DARK_PURPLE + "Shadow Helmets:\n" +
@@ -873,7 +890,8 @@ public class LootDisplay {
EnumChatFormatting.GOLD + "Shadow Furys:\n" +
EnumChatFormatting.AQUA + "Coins Spent:\n" +
EnumChatFormatting.AQUA + "Time Spent:";
- countText = EnumChatFormatting.GOLD + nf.format(CatacombsTracker.recombobulators) + "\n" +
+ countText = EnumChatFormatting.GOLD + nf.format(CatacombsTracker.f5SPlus) + "\n" +
+ EnumChatFormatting.GOLD + nf.format(CatacombsTracker.recombobulators) + "\n" +
EnumChatFormatting.DARK_PURPLE + nf.format(CatacombsTracker.fumingPotatoBooks) + "\n" +
EnumChatFormatting.BLUE + nf.format(CatacombsTracker.warpedStones) + "\n" +
EnumChatFormatting.DARK_PURPLE + nf.format(CatacombsTracker.shadowAssHelms) + "\n" +
@@ -887,7 +905,8 @@ public class LootDisplay {
EnumChatFormatting.AQUA + Utils.getTimeBetween(0, CatacombsTracker.f5TimeSpent);
break;
case "catacombs_floor_five_session":
- dropsText = EnumChatFormatting.GOLD + "Recombobulators:\n" +
+ dropsText = EnumChatFormatting.GOLD + "S+ Runs:\n" +
+ EnumChatFormatting.GOLD + "Recombobulators:\n" +
EnumChatFormatting.DARK_PURPLE + "Fuming Potato Books:\n" +
EnumChatFormatting.BLUE + "Warped Stones:\n" +
EnumChatFormatting.DARK_PURPLE + "Shadow Helmets:\n" +
@@ -899,7 +918,8 @@ public class LootDisplay {
EnumChatFormatting.GOLD + "Shadow Furys:\n" +
EnumChatFormatting.AQUA + "Coins Spent:\n" +
EnumChatFormatting.AQUA + "Time Spent:";
- countText = EnumChatFormatting.GOLD + nf.format(CatacombsTracker.recombobulatorsSession) + "\n" +
+ countText = EnumChatFormatting.GOLD + nf.format(CatacombsTracker.f5SPlusSession) + "\n" +
+ EnumChatFormatting.GOLD + nf.format(CatacombsTracker.recombobulatorsSession) + "\n" +
EnumChatFormatting.DARK_PURPLE + nf.format(CatacombsTracker.fumingPotatoBooksSession) + "\n" +
EnumChatFormatting.BLUE + nf.format(CatacombsTracker.warpedStonesSession) + "\n" +
EnumChatFormatting.DARK_PURPLE + nf.format(CatacombsTracker.shadowAssHelmsSession) + "\n" +
@@ -913,7 +933,8 @@ public class LootDisplay {
EnumChatFormatting.AQUA + Utils.getTimeBetween(0, CatacombsTracker.f5TimeSpentSession);
break;
case "catacombs_floor_six":
- dropsText = EnumChatFormatting.GOLD + "Recombobulators:\n" +
+ dropsText = EnumChatFormatting.GOLD + "S+ Runs:\n" +
+ EnumChatFormatting.GOLD + "Recombobulators:\n" +
EnumChatFormatting.DARK_PURPLE + "Fuming Potato Books:\n" +
EnumChatFormatting.BLUE + "Ancient Roses:\n" +
EnumChatFormatting.GOLD + "Precursor Eyes:\n" +
@@ -923,9 +944,11 @@ public class LootDisplay {
EnumChatFormatting.GOLD + "Necro Lord Leggings:\n" +
EnumChatFormatting.GOLD + "Necro Lord Boots:\n" +
EnumChatFormatting.GOLD + "Necro Swords:\n" +
+ EnumChatFormatting.WHITE + "Rerolls:\n" +
EnumChatFormatting.AQUA + "Coins Spent:\n" +
EnumChatFormatting.AQUA + "Time Spent:";
- countText = EnumChatFormatting.GOLD + nf.format(CatacombsTracker.recombobulators) + "\n" +
+ countText = EnumChatFormatting.GOLD + nf.format(CatacombsTracker.f6SPlus) + "\n" +
+ EnumChatFormatting.GOLD + nf.format(CatacombsTracker.recombobulators) + "\n" +
EnumChatFormatting.DARK_PURPLE + nf.format(CatacombsTracker.fumingPotatoBooks) + "\n" +
EnumChatFormatting.BLUE + nf.format(CatacombsTracker.ancientRoses) + "\n" +
EnumChatFormatting.GOLD + nf.format(CatacombsTracker.precursorEyes) + "\n" +
@@ -935,11 +958,13 @@ public class LootDisplay {
EnumChatFormatting.GOLD + nf.format(CatacombsTracker.necroLordLegs) + "\n" +
EnumChatFormatting.GOLD + nf.format(CatacombsTracker.necroLordBoots) + "\n" +
EnumChatFormatting.GOLD + nf.format(CatacombsTracker.necroSwords) + "\n" +
+ EnumChatFormatting.WHITE + nf.format(CatacombsTracker.f6Rerolls) + "\n" +
EnumChatFormatting.AQUA + Utils.getMoneySpent(CatacombsTracker.f6CoinsSpent) + "\n" +
EnumChatFormatting.AQUA + Utils.getTimeBetween(0, CatacombsTracker.f6TimeSpent);
break;
case "catacombs_floor_six_session":
- dropsText = EnumChatFormatting.GOLD + "Recombobulators:\n" +
+ dropsText = EnumChatFormatting.GOLD + "S+ Runs:\n" +
+ EnumChatFormatting.GOLD + "Recombobulators:\n" +
EnumChatFormatting.DARK_PURPLE + "Fuming Potato Books:\n" +
EnumChatFormatting.BLUE + "Ancient Roses:\n" +
EnumChatFormatting.GOLD + "Precursor Eyes:\n" +
@@ -949,9 +974,11 @@ public class LootDisplay {
EnumChatFormatting.GOLD + "Necro Lord Leggings:\n" +
EnumChatFormatting.GOLD + "Necro Lord Boots:\n" +
EnumChatFormatting.GOLD + "Necro Swords:\n" +
+ EnumChatFormatting.WHITE + "Rerolls:\n" +
EnumChatFormatting.AQUA + "Coins Spent:\n" +
EnumChatFormatting.AQUA + "Time Spent:";
- countText = EnumChatFormatting.GOLD + nf.format(CatacombsTracker.recombobulatorsSession) + "\n" +
+ countText = EnumChatFormatting.GOLD + nf.format(CatacombsTracker.f6SPlusSession) + "\n" +
+ EnumChatFormatting.GOLD + nf.format(CatacombsTracker.recombobulatorsSession) + "\n" +
EnumChatFormatting.DARK_PURPLE + nf.format(CatacombsTracker.fumingPotatoBooksSession) + "\n" +
EnumChatFormatting.BLUE + nf.format(CatacombsTracker.ancientRosesSession) + "\n" +
EnumChatFormatting.GOLD + nf.format(CatacombsTracker.precursorEyesSession) + "\n" +
@@ -961,11 +988,13 @@ public class LootDisplay {
EnumChatFormatting.GOLD + nf.format(CatacombsTracker.necroLordLegsSession) + "\n" +
EnumChatFormatting.GOLD + nf.format(CatacombsTracker.necroLordBootsSession) + "\n" +
EnumChatFormatting.GOLD + nf.format(CatacombsTracker.necroSwordsSession) + "\n" +
+ EnumChatFormatting.WHITE + nf.format(CatacombsTracker.f6RerollsSession) + "\n" +
EnumChatFormatting.AQUA + Utils.getMoneySpent(CatacombsTracker.f6CoinsSpentSession) + "\n" +
EnumChatFormatting.AQUA + Utils.getTimeBetween(0, CatacombsTracker.f6TimeSpentSession);
break;
case "catacombs_floor_seven":
- dropsText = EnumChatFormatting.GOLD + "Recombobulators:\n" +
+ dropsText = EnumChatFormatting.GOLD + "S+ Runs:\n" +
+ EnumChatFormatting.GOLD + "Recombobulators:\n" +
EnumChatFormatting.DARK_PURPLE + "Fuming Potato Books:\n" +
EnumChatFormatting.DARK_PURPLE + "Wither Bloods:\n" +
EnumChatFormatting.DARK_PURPLE + "Wither Cloaks:\n" +
@@ -978,9 +1007,11 @@ public class LootDisplay {
EnumChatFormatting.GOLD + "Wither Chests:\n" +
EnumChatFormatting.GOLD + "Wither Leggings:\n" +
EnumChatFormatting.GOLD + "Wither Boots:\n" +
+ EnumChatFormatting.WHITE + "Rerolls:\n" +
EnumChatFormatting.AQUA + "Coins Spent:\n" +
EnumChatFormatting.AQUA + "Time Spent:";
- countText = EnumChatFormatting.GOLD + nf.format(CatacombsTracker.recombobulators) + "\n" +
+ countText = EnumChatFormatting.GOLD + nf.format(CatacombsTracker.f7SPlus) + "\n" +
+ EnumChatFormatting.GOLD + nf.format(CatacombsTracker.recombobulators) + "\n" +
EnumChatFormatting.DARK_PURPLE + nf.format(CatacombsTracker.fumingPotatoBooks) + "\n" +
EnumChatFormatting.DARK_PURPLE + nf.format(CatacombsTracker.witherBloods) + "\n" +
EnumChatFormatting.DARK_PURPLE + nf.format(CatacombsTracker.witherCloaks) + "\n" +
@@ -993,11 +1024,13 @@ public class LootDisplay {
EnumChatFormatting.GOLD + nf.format(CatacombsTracker.witherChests) + "\n" +
EnumChatFormatting.GOLD + nf.format(CatacombsTracker.witherLegs) + "\n" +
EnumChatFormatting.GOLD + nf.format(CatacombsTracker.witherBoots) + "\n" +
+ EnumChatFormatting.WHITE + nf.format(CatacombsTracker.f7Rerolls) + "\n" +
EnumChatFormatting.AQUA + Utils.getMoneySpent(CatacombsTracker.f7CoinsSpent) + "\n" +
EnumChatFormatting.AQUA + Utils.getTimeBetween(0, CatacombsTracker.f7TimeSpent);
break;
case "catacombs_floor_seven_session":
- dropsText = EnumChatFormatting.GOLD + "Recombobulators:\n" +
+ dropsText = EnumChatFormatting.GOLD + "S+ Runs:\n" +
+ EnumChatFormatting.GOLD + "Recombobulators:\n" +
EnumChatFormatting.DARK_PURPLE + "Fuming Potato Books:\n" +
EnumChatFormatting.DARK_PURPLE + "Wither Bloods:\n" +
EnumChatFormatting.DARK_PURPLE + "Wither Cloaks:\n" +
@@ -1010,9 +1043,11 @@ public class LootDisplay {
EnumChatFormatting.GOLD + "Wither Chests:\n" +
EnumChatFormatting.GOLD + "Wither Leggings:\n" +
EnumChatFormatting.GOLD + "Wither Boots:\n" +
+ EnumChatFormatting.WHITE + "Rerolls:\n" +
EnumChatFormatting.AQUA + "Coins Spent:\n" +
EnumChatFormatting.AQUA + "Time Spent:";
- countText = EnumChatFormatting.GOLD + nf.format(CatacombsTracker.recombobulatorsSession) + "\n" +
+ countText = EnumChatFormatting.GOLD + nf.format(CatacombsTracker.f7SPlusSession) + "\n" +
+ EnumChatFormatting.GOLD + nf.format(CatacombsTracker.recombobulatorsSession) + "\n" +
EnumChatFormatting.DARK_PURPLE + nf.format(CatacombsTracker.fumingPotatoBooksSession) + "\n" +
EnumChatFormatting.DARK_PURPLE + nf.format(CatacombsTracker.witherBloodsSession) + "\n" +
EnumChatFormatting.DARK_PURPLE + nf.format(CatacombsTracker.witherCloaksSession) + "\n" +
@@ -1025,6 +1060,7 @@ public class LootDisplay {
EnumChatFormatting.GOLD + nf.format(CatacombsTracker.witherChestsSession) + "\n" +
EnumChatFormatting.GOLD + nf.format(CatacombsTracker.witherLegsSession) + "\n" +
EnumChatFormatting.GOLD + nf.format(CatacombsTracker.witherBootsSession) + "\n" +
+ EnumChatFormatting.WHITE + nf.format(CatacombsTracker.f7RerollsSession) + "\n" +
EnumChatFormatting.AQUA + Utils.getMoneySpent(CatacombsTracker.f7CoinsSpentSession) + "\n" +
EnumChatFormatting.AQUA + Utils.getTimeBetween(0, CatacombsTracker.f7TimeSpentSession);
break;
diff --git a/src/main/java/me/Danker/handlers/ConfigHandler.java b/src/main/java/me/Danker/handlers/ConfigHandler.java
index 6655d43..5323202 100644
--- a/src/main/java/me/Danker/handlers/ConfigHandler.java
+++ b/src/main/java/me/Danker/handlers/ConfigHandler.java
@@ -416,14 +416,17 @@ public class ConfigHandler {
CatacombsTracker.recombobulators = initInt("catacombs", "recombobulator", 0);
CatacombsTracker.fumingPotatoBooks = initInt("catacombs", "fumingBooks", 0);
// F1
+ CatacombsTracker.f1SPlus = initInt("catacombs", "floorOneSPlus", 0);
CatacombsTracker.bonzoStaffs = initInt("catacombs", "bonzoStaff", 0);
CatacombsTracker.f1CoinsSpent = initDouble("catacombs", "floorOneCoins", 0);
CatacombsTracker.f1TimeSpent = initDouble("catacombs", "floorOneTime", 0);
// F2
+ CatacombsTracker.f2SPlus = initInt("catacombs", "floorTwoSPlus", 0);
CatacombsTracker.scarfStudies = initInt("catacombs", "scarfStudies", 0);
CatacombsTracker.f2CoinsSpent = initDouble("catacombs", "floorTwoCoins", 0);
CatacombsTracker.f2TimeSpent = initDouble("catacombs", "floorTwoTime", 0);
// F3
+ CatacombsTracker.f3SPlus = initInt("catacombs", "floorThreeSPlus", 0);
CatacombsTracker.adaptiveHelms = initInt("catacombs", "adaptiveHelm", 0);
CatacombsTracker.adaptiveChests = initInt("catacombs", "adaptiveChest", 0);
CatacombsTracker.adaptiveLegs = initInt("catacombs", "adaptiveLegging", 0);
@@ -432,6 +435,7 @@ public class ConfigHandler {
CatacombsTracker.f3CoinsSpent = initDouble("catacombs", "floorThreeCoins", 0);
CatacombsTracker.f3TimeSpent = initDouble("catacombs", "floorThreeTime", 0);
// F4
+ CatacombsTracker.f4SPlus = initInt("catacombs", "floorFourSPlus", 0);
CatacombsTracker.spiritWings = initInt("catacombs", "spiritWing", 0);
CatacombsTracker.spiritBones = initInt("catacombs", "spiritBone", 0);
CatacombsTracker.spiritBoots = initInt("catacombs", "spiritBoot", 0);
@@ -442,6 +446,7 @@ public class ConfigHandler {
CatacombsTracker.f4CoinsSpent = initDouble("catacombs", "floorFourCoins", 0);
CatacombsTracker.f4TimeSpent = initDouble("catacombs", "floorFourTime", 0);
// F5
+ CatacombsTracker.f5SPlus = initInt("catacombs", "floorFiveSPlus", 0);
CatacombsTracker.warpedStones = initInt("catacombs", "warpedStone", 0);
CatacombsTracker.shadowAssHelms = initInt("catacombs", "shadowAssassinHelm", 0);
CatacombsTracker.shadowAssChests = initInt("catacombs", "shadowAssassinChest", 0);
@@ -453,6 +458,7 @@ public class ConfigHandler {
CatacombsTracker.f5CoinsSpent = initDouble("catacombs", "floorFiveCoins", 0);
CatacombsTracker.f5TimeSpent = initDouble("catacombs", "floorFiveTime", 0);
// F6
+ CatacombsTracker.f6SPlus = initInt("catacombs", "floorSixSPlus", 0);
CatacombsTracker.ancientRoses = initInt("catacombs", "ancientRose", 0);
CatacombsTracker.precursorEyes = initInt("catacombs", "precursorEye", 0);
CatacombsTracker.giantsSwords = initInt("catacombs", "giantsSword", 0);
@@ -461,9 +467,11 @@ public class ConfigHandler {
CatacombsTracker.necroLordLegs = initInt("catacombs", "necroLordLegging", 0);
CatacombsTracker.necroLordBoots = initInt("catacombs", "necroLordBoot", 0);
CatacombsTracker.necroSwords = initInt("catacombs", "necroSword", 0);
+ CatacombsTracker.f6Rerolls = initInt("catacombs", "floorSixRerolls", 0);
CatacombsTracker.f6CoinsSpent = initDouble("catacombs", "floorSixCoins", 0);
CatacombsTracker.f6TimeSpent = initDouble("catacombs", "floorSixTime", 0);
// F7
+ CatacombsTracker.f7SPlus = initInt("catacombs", "floorSevenSPlus", 0);
CatacombsTracker.witherBloods = initInt("catacombs", "witherBlood", 0);
CatacombsTracker.witherCloaks = initInt("catacombs", "witherCloak", 0);
CatacombsTracker.implosions = initInt("catacombs", "implosion", 0);
@@ -475,6 +483,7 @@ public class ConfigHandler {
CatacombsTracker.witherChests = initInt("catacombs", "witherChest", 0);
CatacombsTracker.witherLegs = initInt("catacombs", "witherLegging", 0);
CatacombsTracker.witherBoots = initInt("catacombs", "witherBoot", 0);
+ CatacombsTracker.f7Rerolls = initInt("catacombs", "floorSevenRerolls", 0);
CatacombsTracker.f7CoinsSpent = initDouble("catacombs", "floorSevenCoins", 0);
CatacombsTracker.f7TimeSpent = initDouble("catacombs", "floorSevenTime", 0);