From 5597d58047a2232274c7d2a094b5276f4a7795c6 Mon Sep 17 00:00:00 2001 From: Thunderblade73 <85900443+Thunderblade73@users.noreply.github.com> Date: Sat, 27 Apr 2024 13:43:51 +0200 Subject: Feature: Matriarch Helper (#1385) Co-authored-by: Cal Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> --- .../features/crimsonisle/CrimsonIsleConfig.java | 6 ++++ .../crimsonisle/MatriarchHelperConfig.java | 36 ++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 src/main/java/at/hannibal2/skyhanni/config/features/crimsonisle/MatriarchHelperConfig.java (limited to 'src/main/java/at/hannibal2/skyhanni/config/features') diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/crimsonisle/CrimsonIsleConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/crimsonisle/CrimsonIsleConfig.java index 07257ab3c..7924ffe02 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/crimsonisle/CrimsonIsleConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/crimsonisle/CrimsonIsleConfig.java @@ -21,6 +21,11 @@ public class CrimsonIsleConfig { @Expose public ReputationHelperConfig reputationHelper = new ReputationHelperConfig(); + @Expose + @ConfigOption(name = "Matriach Helper", desc = "Helper for Heavy Pearls") + @Accordion + public MatriarchHelperConfig matriarchHelper = new MatriarchHelperConfig(); + @Expose @ConfigOption(name = "Pablo NPC Helper", desc = "Shows a clickable message that grabs the flower needed from your sacks.") @ConfigEditorBoolean @@ -47,4 +52,5 @@ public class CrimsonIsleConfig { @Expose @ConfigLink(owner = CrimsonIsleConfig.class, field = "showDojoRankDisplay") public Position dojoRankDisplayPosition = new Position(-378, 206, false, true); + } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/crimsonisle/MatriarchHelperConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/crimsonisle/MatriarchHelperConfig.java new file mode 100644 index 000000000..a8c8ec9ac --- /dev/null +++ b/src/main/java/at/hannibal2/skyhanni/config/features/crimsonisle/MatriarchHelperConfig.java @@ -0,0 +1,36 @@ +package at.hannibal2.skyhanni.config.features.crimsonisle; + +import at.hannibal2.skyhanni.config.FeatureToggle; +import com.google.gson.annotations.Expose; +import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean; +import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorColour; +import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; + +public class MatriarchHelperConfig { + + @Expose + @ConfigOption(name = "Enabled", desc = "Enable features around the Matriarch helper.") + @ConfigEditorBoolean + @FeatureToggle + public boolean enabled = true; + + @Expose + @ConfigOption(name = "Highlight", desc = "Highlight the pearls in a color of your choosing.") + @ConfigEditorBoolean + public boolean highlight = true; + + @Expose + @ConfigOption(name = "Highlight Color", desc = "Colour the pearls are highlighted in.") + @ConfigEditorColour + public String highlightColor = "0:114:126:255:41"; + + @Expose + @ConfigOption(name = "Draw Line", desc = "Draw Line to the lowest Heavy Pearl.") + @ConfigEditorBoolean + public boolean line = true; + + @Expose + @ConfigOption(name = "Line Color", desc = "Colour of the line.") + @ConfigEditorColour + public String lineColor = "0:230:163:38:255"; +} -- cgit