diff options
| author | NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> | 2024-07-14 03:38:34 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-13 19:38:34 +0200 |
| commit | 017512e3224dacba0d0c433b4966b52d239e1261 (patch) | |
| tree | faf1f2939181b6d922e833a0553e0395216a7743 /src/main/java/io/github/moulberry/notenoughupdates/options | |
| parent | 1192fd943f761ad983fc55da51161c4e294076f7 (diff) | |
| download | notenoughupdates-017512e3224dacba0d0c433b4966b52d239e1261.tar.gz notenoughupdates-017512e3224dacba0d0c433b4966b52d239e1261.tar.bz2 notenoughupdates-017512e3224dacba0d0c433b4966b52d239e1261.zip | |
Add customisable ah and bz search history amount (#1237)
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/options')
2 files changed, 27 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/options/separatesections/AHTweaks.java b/src/main/java/io/github/moulberry/notenoughupdates/options/separatesections/AHTweaks.java index f11a9dde..1c9971a8 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/options/separatesections/AHTweaks.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/options/separatesections/AHTweaks.java @@ -71,6 +71,19 @@ public class AHTweaks { @ConfigAccordionId(id = 0) public boolean escFullClose = true; + @Expose + @ConfigOption( + name = "Search History Size", + desc = "Changes how many search items get stored" + ) + @ConfigEditorSlider( + minValue = 1, + maxValue = 15, + minStep = 1 + ) + @ConfigAccordionId(id = 0) + public int ahSearchHistorySize = 5; + @ConfigOption( name = "BIN Warning", desc = "" diff --git a/src/main/java/io/github/moulberry/notenoughupdates/options/separatesections/BazaarTweaks.java b/src/main/java/io/github/moulberry/notenoughupdates/options/separatesections/BazaarTweaks.java index ee49fa7a..fd855ddc 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/options/separatesections/BazaarTweaks.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/options/separatesections/BazaarTweaks.java @@ -74,6 +74,19 @@ public class BazaarTweaks { @Expose @ConfigOption( + name = "Search History Size", + desc = "Changes how many search items get stored" + ) + @ConfigEditorSlider( + minValue = 1, + maxValue = 15, + minStep = 1 + ) + @ConfigAccordionId(id = 0) + public int bzSearchHistorySize = 5; + + @Expose + @ConfigOption( name = "Bazaar Overpay Warning", desc = "Warns you before you would pay more than this amount of coins for an item in the /bz" ) @@ -83,7 +96,7 @@ public class BazaarTweaks { @Expose @ConfigOption( name = "CTRL+F for search", - desc = "Open search GUI when pressing CTRL + F in the bazzar" + desc = "Open search GUI when pressing CTRL + F in the bazaar" ) @ConfigEditorBoolean() public boolean ctrlFSearch = true; |
