aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/features
diff options
context:
space:
mode:
authorLuna <luna@alexia.lol>2024-05-03 14:07:46 +0200
committerGitHub <noreply@github.com>2024-05-03 14:07:46 +0200
commit37a9fd7df3695fcc0fb4dd5427a91b73bdadefbb (patch)
treed98eea116bde6df39468be209de81dd5953b1767 /src/main/java/at/hannibal2/skyhanni/config/features
parent23a5bc7eaf0e6ddc189b54d88d49d86c87174440 (diff)
downloadskyhanni-37a9fd7df3695fcc0fb4dd5427a91b73bdadefbb.tar.gz
skyhanni-37a9fd7df3695fcc0fb4dd5427a91b73bdadefbb.tar.bz2
skyhanni-37a9fd7df3695fcc0fb4dd5427a91b73bdadefbb.zip
Feature: Add overflow crop milestones (#997)
Co-authored-by: HiZe <superhize@hotmail.com> Co-authored-by: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/garden/cropmilestones/CropMilestonesConfig.java5
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/garden/cropmilestones/CropMilestonesOverflowConfig.java38
2 files changed, 43 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/garden/cropmilestones/CropMilestonesConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/garden/cropmilestones/CropMilestonesConfig.java
index ee47709a8..abc256c97 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/garden/cropmilestones/CropMilestonesConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/garden/cropmilestones/CropMilestonesConfig.java
@@ -37,6 +37,11 @@ public class CropMilestonesConfig {
public boolean progress = true;
@Expose
+ @ConfigOption(name = "Overflow", desc = "")
+ @Accordion
+ public CropMilestonesOverflowConfig overflow = new CropMilestonesOverflowConfig();
+
+ @Expose
@ConfigOption(
name = "Warn When Close",
desc = "Warn with title and sound when the next crop milestone upgrade happens in 5 seconds. " +
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/garden/cropmilestones/CropMilestonesOverflowConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/garden/cropmilestones/CropMilestonesOverflowConfig.java
new file mode 100644
index 000000000..acf588543
--- /dev/null
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/garden/cropmilestones/CropMilestonesOverflowConfig.java
@@ -0,0 +1,38 @@
+package at.hannibal2.skyhanni.config.features.garden.cropmilestones;
+
+import com.google.gson.annotations.Expose;
+import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean;
+import io.github.notenoughupdates.moulconfig.annotations.ConfigOption;
+
+public class CropMilestonesOverflowConfig {
+
+ @Expose
+ @ConfigOption(name = "Crop Milestone Display", desc = "Show overflow levels in Crop Milestone display.")
+ @ConfigEditorBoolean
+ public boolean cropMilestoneDisplay = false;
+
+ @Expose
+ @ConfigOption(name = "Best Crop Time", desc = "Show overflow levels in Best Crop Time Display.")
+ @ConfigEditorBoolean
+ public boolean bestCropTime = false;
+
+ @Expose
+ @ConfigOption(name = "Inventory", desc = "Show overflow levels as stack size in the Crop Milestones inventory (will also change milestone average).")
+ @ConfigEditorBoolean
+ public boolean inventoryStackSize = false;
+
+ @Expose
+ @ConfigOption(name = "Tooltip", desc = "Show overflow level progress in the item tooltip in the Crop Milestones inventory.")
+ @ConfigEditorBoolean
+ public boolean inventoryTooltip = false;
+
+ @Expose
+ @ConfigOption(name = "Discord RPC", desc = "Show overflow levels in the Discord RPC milestone display.")
+ @ConfigEditorBoolean
+ public boolean discordRPC = false;
+
+ @Expose
+ @ConfigOption(name = "Chat", desc = "Send a chat message when gaining an overflow milestone level.")
+ @ConfigEditorBoolean
+ public boolean chat = false;
+}