diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-04-04 08:04:54 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-04-04 08:04:54 +0200 |
commit | 8bd79d3e44dcaf156e4e48c2ecedadcd22a5e172 (patch) | |
tree | c2a5909c404ca8f8757eda7e06292a9ecd959943 /src/main/java/at/hannibal2/skyhanni/config | |
parent | 5c9506ac9cdb47eaded10cc9c0de67e4e061eb58 (diff) | |
download | skyhanni-8bd79d3e44dcaf156e4e48c2ecedadcd22a5e172.tar.gz skyhanni-8bd79d3e44dcaf156e4e48c2ecedadcd22a5e172.tar.bz2 skyhanni-8bd79d3e44dcaf156e4e48c2ecedadcd22a5e172.zip |
Added Estimated Item Value - Displays an estimated item value for the item you hover over.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/Misc.java | 32 |
1 files changed, 28 insertions, 4 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/Misc.java b/src/main/java/at/hannibal2/skyhanni/config/features/Misc.java index 609f72e43..8b9ea625a 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/Misc.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/Misc.java @@ -2,11 +2,9 @@ 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.ConfigAccordionId; -import io.github.moulberry.moulconfig.annotations.ConfigEditorAccordion; -import io.github.moulberry.moulconfig.annotations.ConfigEditorBoolean; -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; public class Misc { @@ -211,6 +209,32 @@ public class Misc { public Position chickenHeadTimerPosition = new Position(-372, 73, false, true); @Expose + @ConfigOption(name = "Estimated Item Value", desc = "(Enchantments, reforging stone prices, gemstones, gemstones, drill parts and more)") + @ConfigEditorAccordion(id = 11) + public boolean estimatedItemValue = false; + + @Expose + @ConfigOption(name = "Enable Estimated Price", desc = "Displays an estimated item value for the item you hover over.") + @ConfigEditorBoolean + @ConfigAccordionId(id = 11) + public boolean estimatedIemValueEnabled = false; + + @Expose + @ConfigOption(name = "Hotkey", desc = "Press this key to show the estimated item value.") + @ConfigEditorKeybind(defaultKey = Keyboard.KEY_NONE) + @ConfigAccordionId(id = 11) + public int estimatedItemValueHotkey = Keyboard.KEY_NONE; + + @Expose + @ConfigOption(name = "Show always", desc = "Ignore the hotkey and always display the item value.") + @ConfigEditorBoolean + @ConfigAccordionId(id = 11) + public boolean estimatedIemValueAlwaysEnabled = true; + + @Expose + public Position itemPriceDataPos = new Position(140, 90, false, true); + + @Expose @ConfigOption(name = "Exp Bottles", desc = "Hides all the experience orbs lying on the ground.") @ConfigEditorBoolean public boolean hideExpBottles = false; |