aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/gui
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2022-08-12 21:27:32 -0400
committerbowser0000 <bowser0000@gmail.com>2022-08-12 21:27:32 -0400
commit4ad452877d9d88a54669c5e6f04f6ab933a01a02 (patch)
treedba0a24e1a9c836f04fa360e70e359367036468f /src/main/java/me/Danker/gui
parent189526f2d6d96cce6086af6947b4e752c13944e2 (diff)
downloadSkyblockMod-4ad452877d9d88a54669c5e6f04f6ab933a01a02.tar.gz
SkyblockMod-4ad452877d9d88a54669c5e6f04f6ab933a01a02.tar.bz2
SkyblockMod-4ad452877d9d88a54669c5e6f04f6ab933a01a02.zip
Add amount of Magmafish if filleted display
Shows amount of Magmafish you would get if you filleted all the trophy fish in your inventory
Diffstat (limited to 'src/main/java/me/Danker/gui')
-rw-r--r--src/main/java/me/Danker/gui/DankerGui.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/me/Danker/gui/DankerGui.java b/src/main/java/me/Danker/gui/DankerGui.java
index 9a8d283..f009d34 100644
--- a/src/main/java/me/Danker/gui/DankerGui.java
+++ b/src/main/java/me/Danker/gui/DankerGui.java
@@ -95,6 +95,7 @@ public class DankerGui extends GuiScreen {
private GuiButton fishingAlert;
private GuiButton minionLastCollected;
private GuiButton showTrophyCompletion;
+ private GuiButton showTotalMagmafish;
// Chat Messages
private GuiButton sceptreMessages;
private GuiButton midasStaffMessages;
@@ -194,6 +195,7 @@ public class DankerGui extends GuiScreen {
fishingAlert = new FeatureButton("Fishing Spawn Alerts: " + Utils.getColouredBoolean(ToggleCommand.fishingAlert), "Alerts when a Thunder or Lord Jawbus spawns nearby");
minionLastCollected = new FeatureButton("Show When Minion Last Collected: " + Utils.getColouredBoolean(ToggleCommand.minionLastCollected), "Displays when a minion was last collected over the minion.");
showTrophyCompletion = new FeatureButton("Show Trophy Fish Completion: " + Utils.getColouredBoolean(ToggleCommand.showTrophyCompletion), "Show completion instead of count in trophy fish tracker display.");
+ showTotalMagmafish = new FeatureButton("Show Total Fillet Magmafish: " + Utils.getColouredBoolean(ToggleCommand.showTotalMagmafish), "Show total Magmafish you would get if you filleted all the trophy fish in your inventory.");
allButtons.clear();
allButtons.add(changeDisplay);
@@ -259,6 +261,7 @@ public class DankerGui extends GuiScreen {
allButtons.add(fishingAlert);
allButtons.add(minionLastCollected);
allButtons.add(showTrophyCompletion);
+ allButtons.add(showTotalMagmafish);
search.setText(initSearchText);
search.setVisible(true);
@@ -572,6 +575,10 @@ public class DankerGui extends GuiScreen {
ToggleCommand.showTrophyCompletion = !ToggleCommand.showTrophyCompletion;
ConfigHandler.writeBooleanConfig("toggles", "ShowTrophyCompletion", ToggleCommand.showTrophyCompletion);
showTrophyCompletion.displayString = "Show Trophy Fish Completion: " + Utils.getColouredBoolean(ToggleCommand.showTrophyCompletion);
+ } else if (button == showTotalMagmafish) {
+ ToggleCommand.showTotalMagmafish = !ToggleCommand.showTotalMagmafish;
+ ConfigHandler.writeBooleanConfig("toggles", "ShowTotalMagmafish", ToggleCommand.showTotalMagmafish);
+ showTotalMagmafish.displayString = "Show Total Fillet Magmafish: " + Utils.getColouredBoolean(ToggleCommand.showTotalMagmafish);
}
}