aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
authorAzure <hello@azu.cool>2024-08-25 17:49:19 -0400
committerGitHub <noreply@github.com>2024-08-25 23:49:19 +0200
commit44d5f286982bfc1640a57ae5801402bd5f26c843 (patch)
tree8c52cf46e466112a8693583ead5c16008c6a5ff4 /src/main/java/at/hannibal2/skyhanni/config
parentaa48336b2f4fa8c5bdc1fbabd6e144c475013198 (diff)
downloadskyhanni-44d5f286982bfc1640a57ae5801402bd5f26c843.tar.gz
skyhanni-44d5f286982bfc1640a57ae5801402bd5f26c843.tar.bz2
skyhanni-44d5f286982bfc1640a57ae5801402bd5f26c843.zip
Improvement: Make line width for 'Line to Arachne' & 'Line to Miniboss' configurable (#2406)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/combat/MobsConfig.java6
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/slayer/SlayerConfig.java6
2 files changed, 12 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/combat/MobsConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/combat/MobsConfig.java
index 0d9c2f694..f51076360 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/combat/MobsConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/combat/MobsConfig.java
@@ -3,6 +3,7 @@ package at.hannibal2.skyhanni.config.features.combat;
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.ConfigEditorSlider;
import io.github.notenoughupdates.moulconfig.annotations.ConfigOption;
public class MobsConfig {
@@ -64,6 +65,11 @@ public class MobsConfig {
public boolean lineToArachne = false;
@Expose
+ @ConfigOption(name = "Line to Arachne Width", desc = "The width of the line pointing to where Arachne is at.")
+ @ConfigEditorSlider(minStep = 1, minValue = 1, maxValue = 10)
+ public int lineToArachneWidth = 5;
+
+ @Expose
@ConfigOption(
name = "Area Boss Timer",
desc = "Show a timer when Area Bosses respawn.\n" +
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/slayer/SlayerConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/slayer/SlayerConfig.java
index 74f61be7f..fedace999 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/slayer/SlayerConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/slayer/SlayerConfig.java
@@ -8,6 +8,7 @@ import com.google.gson.annotations.Expose;
import io.github.notenoughupdates.moulconfig.annotations.Accordion;
import io.github.notenoughupdates.moulconfig.annotations.Category;
import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean;
+import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorSlider;
import io.github.notenoughupdates.moulconfig.annotations.ConfigOption;
public class SlayerConfig {
@@ -60,6 +61,11 @@ public class SlayerConfig {
public boolean slayerMinibossLine = false;
@Expose
+ @ConfigOption(name = "Line to Miniboss Width", desc = "The width of the line pointing to every Slayer Mini-Boss around you.")
+ @ConfigEditorSlider(minStep = 1, minValue = 1, maxValue = 10)
+ public int slayerMinibossLineWidth = 3;
+
+ @Expose
@ConfigOption(name = "Hide Mob Names", desc = "Hide the name of the mobs you need to kill in order for the Slayer boss to spawn. Exclude mobs that are damaged, corrupted, runic or semi rare.")
@ConfigEditorBoolean
@FeatureToggle