diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-08-16 09:17:05 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-08-16 09:17:05 +0200 |
commit | 98788ec56847cdfca2a1e5f3676844a9ac25acb8 (patch) | |
tree | c638e3fe622c3f1916bf4a1ddd7de053be344af2 /src/main/java/at/hannibal2/skyhanni/config | |
parent | 87049ddf530ff9da72989620fab1a51c4f4e045a (diff) | |
download | skyhanni-98788ec56847cdfca2a1e5f3676844a9ac25acb8.tar.gz skyhanni-98788ec56847cdfca2a1e5f3676844a9ac25acb8.tar.bz2 skyhanni-98788ec56847cdfca2a1e5f3676844a9ac25acb8.zip |
Added Enchantments Cap to EstimatedItemValue.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java index 588a52345..630ef9e70 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/MiscConfig.java @@ -2,15 +2,7 @@ package at.hannibal2.skyhanni.config.features; import at.hannibal2.skyhanni.config.core.config.Position; import com.google.gson.annotations.Expose; -import io.github.moulberry.moulconfig.annotations.Accordion; -import io.github.moulberry.moulconfig.annotations.ConfigAccordionId; -import io.github.moulberry.moulconfig.annotations.ConfigEditorAccordion; -import io.github.moulberry.moulconfig.annotations.ConfigEditorBoolean; -import io.github.moulberry.moulconfig.annotations.ConfigEditorDraggableList; -import io.github.moulberry.moulconfig.annotations.ConfigEditorDropdown; -import io.github.moulberry.moulconfig.annotations.ConfigEditorKeybind; -import io.github.moulberry.moulconfig.annotations.ConfigEditorText; -import io.github.moulberry.moulconfig.annotations.ConfigOption; +import io.github.moulberry.moulconfig.annotations.*; import io.github.moulberry.moulconfig.observer.Property; import org.lwjgl.input.Keyboard; @@ -267,6 +259,17 @@ public class MiscConfig { public boolean estimatedIemValueAlwaysEnabled = true; @Expose + @ConfigOption(name = "Enchantments Cap", desc = "Only show the top # most expensive enchantments.") + @ConfigEditorSlider( + minValue = 1, + maxValue = 30, + minStep = 1 + ) + @ConfigAccordionId(id = 11) + public Property<Integer> estimatedIemValueEnchantmentsCap = Property.of(7); + + + @Expose @ConfigOption(name = "Show Exact Price", desc = "Show the exact total price instead of the compact number.") @ConfigEditorBoolean @ConfigAccordionId(id = 11) |