From 52c6dabe58005aa5a7fc5809512bd8cf4ad4f97f Mon Sep 17 00:00:00 2001 From: BuildTools Date: Wed, 10 Feb 2021 20:11:57 +0800 Subject: PRE18.1 --- .../notenoughupdates/options/NEUConfig.java | 65 +++++++++++++++++----- 1 file changed, 50 insertions(+), 15 deletions(-) (limited to 'src/main/java/io/github/moulberry/notenoughupdates/options/NEUConfig.java') diff --git a/src/main/java/io/github/moulberry/notenoughupdates/options/NEUConfig.java b/src/main/java/io/github/moulberry/notenoughupdates/options/NEUConfig.java index 045b4cdb..c8625088 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/options/NEUConfig.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/options/NEUConfig.java @@ -201,6 +201,21 @@ public class NEUConfig extends Config { ) public DungeonMapOpen dungeonMapOpen = new DungeonMapOpen(); + @Expose + @Category( + name = "Smooth AOTE", + desc = "Smooth AOTE" + ) + public SmoothAOTE smoothAOTE = new SmoothAOTE(); + + + @Expose + @Category( + name = "AH Search GUI", + desc = "AH Search GUI" + ) + public AuctionHouseSearch auctionHouseSearch = new AuctionHouseSearch(); + @Expose @Category( name = "Dungeon Block Overlay", @@ -215,13 +230,6 @@ public class NEUConfig extends Config { ) public AccessoryBag accessoryBag = new AccessoryBag(); - @Expose - @Category( - name = "Smooth AOTE", - desc = "Smooth AOTE" - ) - public SmoothAOTE smoothAOTE = new SmoothAOTE(); - @Expose @Category( name = "Custom Rod Colours", @@ -258,14 +266,6 @@ public class NEUConfig extends Config { @ConfigEditorBoolean public boolean onlyShowOnSkyblock = true; - @Expose - @ConfigOption( - name = "Private Island Fly Fix", - desc = "Fix flying being delaying on private islands" - ) - @ConfigEditorBoolean - public boolean flyFix = true; - @Expose @ConfigOption( name = "Hide Potion Effects", @@ -1154,6 +1154,41 @@ public class NEUConfig extends Config { public boolean showOwnHeadAsMarker = false; } + public static class AuctionHouseSearch { + @Expose + @ConfigOption( + name = "Enable Search GUI", + desc = "Use the advanced search GUI with autocomplete and history instead of the normal sign GUI" + ) + @ConfigEditorBoolean + public boolean enableSearchOverlay = true; + + @Expose + @ConfigOption( + name = "Keep Previous Search", + desc = "Don't clear the search bar after closing the GUI" + ) + @ConfigEditorBoolean + public boolean keepPreviousSearch = false; + + @Expose + @ConfigOption( + name = "Past Searches", + desc = "Show past searches below the autocomplete box" + ) + @ConfigEditorBoolean + public boolean showPastSearches = true; + + @Expose + @ConfigOption( + name = "ESC to Full Close", + desc = "Make pressing ESCAPE close the search GUI without opening up the AH again\n" + + "ENTER can still be used to search" + ) + @ConfigEditorBoolean + public boolean escFullClose = true; + } + public static class DungeonBlock { @Expose @ConfigOption( -- cgit