diff options
author | HiZe_ <superhize@hotmail.com> | 2023-05-22 23:41:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-22 23:41:13 +0200 |
commit | 908fd8d0d24ca9c57a83dc22c07a7e043af37044 (patch) | |
tree | 25abdc1709111d01c4d297515fd4a52f34a87591 /src/main/java/at/hannibal2/skyhanni/config/features | |
parent | 5999f152a69549c951d14ad10faea392d3c965dd (diff) | |
download | skyhanni-908fd8d0d24ca9c57a83dc22c07a7e043af37044.tar.gz skyhanni-908fd8d0d24ca9c57a83dc22c07a7e043af37044.tar.bz2 skyhanni-908fd8d0d24ca9c57a83dc22c07a7e043af37044.zip |
Added price next to each items in sack display, Added runes/gemstones sack display (#124)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/Inventory.java | 50 |
1 files changed, 45 insertions, 5 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/Inventory.java b/src/main/java/at/hannibal2/skyhanni/config/features/Inventory.java index c6641afe9..c6085250f 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/Inventory.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/Inventory.java @@ -125,7 +125,7 @@ public class Inventory { public boolean enabled = true; @Expose - @ConfigOption(name = "Number Format", desc = "Either show Default, Formatted or Unformatted numbers." + + @ConfigOption(name = "Number Format", desc = "Either show Default, Formatted or Unformatted numbers.\n" + "§eDefault: §72,240/2.2k\n" + "§eFormatted: §72.2k/2.2k\n" + "§eUnformatted: §72,240/2,200") @@ -133,17 +133,57 @@ public class Inventory { public int numberFormat = 1; @Expose - @ConfigOption(name = "Sorting Type", desc = "Sorting type of items in sacks.") - @ConfigEditorDropdown(values = {"Descending", "Ascending"}) + @ConfigOption(name = "Extra space", desc = "Space between each line of text.") + @ConfigEditorSlider( + minValue = 0, + maxValue = 10, + minStep = 1) + public int extraSpace = 1; + + @Expose + @ConfigOption(name = "Sorting Type", desc = "Sorting type of items in sack.") + @ConfigEditorDropdown(values = {"Descending (Stored)", "Ascending (Stored)", "Descending (Price)", "Ascending (Price)"}) public int sortingType = 0; @Expose + @ConfigOption(name = "Item To Show", desc = "Choose how many items are displayed. (Some sacks have too many items to fit\n" + + "in larger gui scale, like the nether sack.)") + @ConfigEditorSlider( + minValue = 0, + maxValue = 45, + minStep = 1 + ) + public int itemToShow = 15; + + @Expose + @ConfigOption(name = "Show Empty Item", desc = "Show empty item quantity in the display.") + @ConfigEditorBoolean + public boolean showEmpty = true; + + @Expose + @ConfigOption(name = "Show Price", desc = "Show price for each item in sack.") + @ConfigEditorBoolean + public boolean showPrice = true; + + @Expose + @ConfigOption(name = "Price Format", desc = "Format of the price displayed.\n" + + "§eFormatted: §7(12k)\n" + + "§eUnformatted: §7(12,421)") + @ConfigEditorDropdown(values = {"Formatted", "Unformatted"}) + public int priceFormat = 0; + + @Expose + @ConfigOption(name = "Show Price From", desc = "Show price from Bazaar or NPC.") + @ConfigEditorDropdown(values = {"Bazaar", "NPC"}) + public int priceFrom = 1; + + @Expose @ConfigOption(name = "Show in Runes Sack", desc = "Show contained items inside a runes sack.") @ConfigEditorBoolean public boolean showRunes = false; @Expose - public Position position = new Position(155, -57, false, true); + public Position position = new Position(144, 139, false, true); } @Expose @@ -204,4 +244,4 @@ public class Inventory { public boolean highlightAuctions = true; -} +}
\ No newline at end of file |