From 1279308d07da76fba65a2a0508bcc9b115a0ee81 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Wed, 20 Dec 2023 11:48:35 +0100 Subject: Added option to Hide Cheap Items in Slayer, Fishing and Diana Item Profit Trackers. --- .../config/features/misc/TrackerConfig.java | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'src/main/java/at/hannibal2/skyhanni/config/features') diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/misc/TrackerConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/misc/TrackerConfig.java index 307395a7a..643ce637b 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/misc/TrackerConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/misc/TrackerConfig.java @@ -96,4 +96,28 @@ public class TrackerConfig { @ConfigEditorSlider(minValue = 1, maxValue = 50_000_000, minStep = 1) public int minimumTitle = 5_000_000; } + + @Expose + @ConfigOption(name = "Hide Cheap Items", desc = "Hide cheap items.") + @Accordion + public HideCheapItemsConfig hideCheapItems = new HideCheapItemsConfig(); + + public static class HideCheapItemsConfig { + + @Expose + @ConfigOption(name = "Enabled", desc = "Limit how many items should be shown.") + @ConfigEditorBoolean + public Property enabled = Property.of(true); + + @Expose + @ConfigOption(name = "Show Expensive #", desc = "Always show the # most expensive items.") + @ConfigEditorSlider(minValue = 1, maxValue = 40, minStep = 1) + public Property alwaysShowBest = Property.of(8); + + @Expose + @ConfigOption(name = "Still Show Above", desc = "Always show items above this §6price in 1k §7even when not in the top # of items.") + @ConfigEditorSlider(minValue = 5, maxValue = 500, minStep = 5) + public Property minPrice = Property.of(100); + + } } -- cgit