diff options
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/inventory/AuctionHouseConfig.java | 47 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/inventory/InventoryConfig.java | 26 |
2 files changed, 52 insertions, 21 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/inventory/AuctionHouseConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/inventory/AuctionHouseConfig.java new file mode 100644 index 000000000..8c3d8d385 --- /dev/null +++ b/src/main/java/at/hannibal2/skyhanni/config/features/inventory/AuctionHouseConfig.java @@ -0,0 +1,47 @@ +package at.hannibal2.skyhanni.config.features.inventory; + +import at.hannibal2.skyhanni.config.FeatureToggle; +import com.google.gson.annotations.Expose; +import io.github.moulberry.moulconfig.annotations.ConfigEditorBoolean; +import io.github.moulberry.moulconfig.annotations.ConfigEditorKeybind; +import io.github.moulberry.moulconfig.annotations.ConfigOption; +import org.lwjgl.input.Keyboard; + +public class AuctionHouseConfig { + + + @Expose + @ConfigOption( + name = "Highlight Auctions", + desc = "Highlight own items that are sold in green and that are expired in red." + ) + @ConfigEditorBoolean + @FeatureToggle + public boolean highlightAuctions = true; + + @Expose + @ConfigOption( + name = "Highlight Underbid Auctions", + desc = "Highlight underbid own lowest BIN auctions that are outbid." + ) + @ConfigEditorBoolean + @FeatureToggle + public boolean highlightAuctionsUnderbid = false; + + @Expose + @ConfigOption( + name = "Auto Copy Underbid", + desc = "Automatically copies the price of an item in the \"Create BIN Auction\" minus 1 coin into the clipboard for faster under-bidding." + ) + @ConfigEditorBoolean + @FeatureToggle + public boolean autoCopyUnderbidPrice = false; + + @Expose + @ConfigOption( + name = "Copy Underbid Keybind", + desc = "Copies the price of the hovered item in Auction House minus 1 coin into the clipboard for easier under-bidding." + ) + @ConfigEditorKeybind(defaultKey = Keyboard.KEY_NONE) + public int copyUnderbidKeybind = Keyboard.KEY_NONE; +} diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/inventory/InventoryConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/inventory/InventoryConfig.java index 82235a828..553d58214 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/inventory/InventoryConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/inventory/InventoryConfig.java @@ -66,6 +66,11 @@ public class InventoryConfig { public GetFromSackConfig gfs = new GetFromSackConfig(); @Expose + @ConfigOption(name = "Auctions", desc = "") + @Accordion + public AuctionHouseConfig auctions = new AuctionHouseConfig(); + + @Expose @ConfigOption( name = "Item Number", desc = "Showing the item number as a stack size for these items." @@ -174,27 +179,6 @@ public class InventoryConfig { public boolean powerStoneGuide = true; @Expose - @ConfigOption(name = "Highlight Auctions", - desc = "Highlight own items that are sold in green and that are expired in red.") - @ConfigEditorBoolean - @FeatureToggle - public boolean highlightAuctions = true; - - @Expose - @ConfigOption(name = "Highlight Underbid Auctions", - desc = "Highlight underbid own lowest BIN auctions that are outbid.") - @ConfigEditorBoolean - @FeatureToggle - public boolean highlightAuctionsUnderbid = false; - - @Expose - @ConfigOption(name = "Copy Underbid Price", - desc = "Copies the price of an item in the \"Create BIN Auction\" minus 1 coin into the clipboard for faster under-bidding.") - @ConfigEditorBoolean - @FeatureToggle - public boolean copyUnderbidPrice = false; - - @Expose @ConfigOption(name = "Shift Click Equipment", desc = "Makes normal clicks to shift clicks in equipment inventory.") @ConfigEditorBoolean @FeatureToggle |