aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
authorThunderblade73 <85900443+Thunderblade73@users.noreply.github.com>2024-08-26 10:27:32 +0200
committerGitHub <noreply@github.com>2024-08-26 10:27:32 +0200
commitd13954de4de5d9a04380bb4105c13d7ae564255e (patch)
treeb9ad05a6de3523231ed6ea5ff0259a7cc66497c3 /src/main/java/at/hannibal2/skyhanni/config
parent57224a6c4c4dac2eba2892f29ab4f41cee435995 (diff)
downloadskyhanni-d13954de4de5d9a04380bb4105c13d7ae564255e.tar.gz
skyhanni-d13954de4de5d9a04380bb4105c13d7ae564255e.tar.bz2
skyhanni-d13954de4de5d9a04380bb4105c13d7ae564255e.zip
Feature: Starred Mob Highlight + Fels Highlight/Line (#1558)
Co-authored-by: Cal <cwolfson58@gmail.com> Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/dungeon/DungeonConfig.java5
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/dungeon/ObjectHighlighterConfig.java72
2 files changed, 77 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/dungeon/DungeonConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/dungeon/DungeonConfig.java
index b76039da1..1729623d2 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/dungeon/DungeonConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/dungeon/DungeonConfig.java
@@ -68,6 +68,11 @@ public class DungeonConfig {
public boolean architectNotifier = true;
@Expose
+ @ConfigOption(name = "Object Highlighter", desc = "Highlights various things in Dungeons.")
+ @Accordion
+ public ObjectHighlighterConfig objectHighlighter = new ObjectHighlighterConfig();
+
+ @Expose
@ConfigOption(name = "Object Hider", desc = "Hide various things in Dungeons.")
@Accordion
public ObjectHiderConfig objectHider = new ObjectHiderConfig();
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/dungeon/ObjectHighlighterConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/dungeon/ObjectHighlighterConfig.java
new file mode 100644
index 000000000..385c162c6
--- /dev/null
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/dungeon/ObjectHighlighterConfig.java
@@ -0,0 +1,72 @@
+package at.hannibal2.skyhanni.config.features.dungeon;
+
+import at.hannibal2.skyhanni.config.FeatureToggle;
+import com.google.gson.annotations.Expose;
+import io.github.notenoughupdates.moulconfig.annotations.Accordion;
+import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean;
+import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorColour;
+import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorInfoText;
+import io.github.notenoughupdates.moulconfig.annotations.ConfigOption;
+import io.github.notenoughupdates.moulconfig.observer.Property;
+
+public class ObjectHighlighterConfig {
+
+ // TODO move some stuff from DungeonConfig into this
+
+ @Expose
+ @ConfigOption(name = "Stared", desc = "")
+ @Accordion
+ public StarredConfig starred = new StarredConfig();
+
+ public static class StarredConfig {
+ @Expose
+ @ConfigOption(name = "Highlight Starred", desc = "Highlights all starred mobs in one colour.")
+ @ConfigEditorBoolean
+ @FeatureToggle
+ public Property<Boolean> highlight = Property.of(true);
+
+ /*
+ TODO for someone who has time
+ @Expose
+ @ConfigOption(name = "Show Outline", desc = "Shows only a outline instead of a full highlight.")
+ @ConfigEditorBoolean
+ public Property<Boolean> showOutline = Property.of(true); */
+
+ @ConfigOption(
+ name = "No Chroma",
+ desc = "§cThe chroma setting for the color is currently not working!"
+ )
+ @ConfigEditorInfoText
+ public String info;
+
+ @Expose
+ @ConfigOption(name = "Colour", desc = "Color in which the stared mobs are highlighted.")
+ @ConfigEditorColour
+ public Property<String> colour = Property.of("0:60:255:255:0");
+ }
+
+ @Expose
+ @ConfigOption(name = "Fels Skull", desc = "")
+ @Accordion
+ public FelConfig fel = new FelConfig();
+
+ public static class FelConfig {
+
+ @Expose
+ @ConfigOption(name = "Highlight Fels Skull", desc = "Highlights fels that are not yet active.")
+ @ConfigEditorBoolean
+ @FeatureToggle
+ public Property<Boolean> highlight = Property.of(true);
+
+ @Expose
+ @ConfigOption(name = "Draw Line", desc = "Draws a line to fels skulls. Works only if the highlight is enabled.")
+ @ConfigEditorBoolean
+ public Boolean line = false;
+
+ @Expose
+ @ConfigOption(name = "Colour", desc = "Color for the fel skull and line.")
+ @ConfigEditorColour
+ public Property<String> colour = Property.of("0:200:255:0:255");
+ }
+
+}