aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/features
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-04-04 20:50:23 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-04-04 20:50:23 +0200
commit0cd9274e0fefb8c89b11219f3b96d3b873a090f7 (patch)
treec0dc6cae9e821305dced069fe3bcde092e5a7e7c /src/main/java/at/hannibal2/skyhanni/config/features
parentb1be5758a2543df639c427038b61a86ea0e0cae6 (diff)
downloadskyhanni-0cd9274e0fefb8c89b11219f3b96d3b873a090f7.tar.gz
skyhanni-0cd9274e0fefb8c89b11219f3b96d3b873a090f7.tar.bz2
skyhanni-0cd9274e0fefb8c89b11219f3b96d3b873a090f7.zip
Added Custom Format - Use a custom format for money per hour
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/Garden.java26
1 files changed, 22 insertions, 4 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/Garden.java b/src/main/java/at/hannibal2/skyhanni/config/features/Garden.java
index 74b874186..d433d401e 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/Garden.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/Garden.java
@@ -333,7 +333,7 @@ public class Garden {
@ConfigOption(name = "Set Default", desc = "Reset all keys to default.")
@ConfigEditorButton(buttonText = "Default")
@ConfigAccordionId(id = 8)
- public Runnable keyBindPresetDefault = ()-> {
+ public Runnable keyBindPresetDefault = () -> {
keyBindAttack = -100;
keyBindLeft = Keyboard.KEY_A;
keyBindRight = Keyboard.KEY_D;
@@ -594,6 +594,7 @@ public class Garden {
@ConfigEditorBoolean
@ConfigAccordionId(id = 13)
public boolean moneyPerHourAlwaysOn = false;
+
@Expose
@ConfigOption(
name = "Compact Mode",
@@ -601,6 +602,7 @@ public class Garden {
@ConfigEditorBoolean
@ConfigAccordionId(id = 13)
public boolean moneyPerHourCompact = false;
+
@Expose
@ConfigOption(
name = "Compact Price",
@@ -608,13 +610,29 @@ public class Garden {
@ConfigEditorBoolean
@ConfigAccordionId(id = 13)
public boolean moneyPerHourCompactPrice = false;
+
@Expose
@ConfigOption(
- name = "Advanced stats",
- desc = "Show not only Sell Offer price but also Instant Sell price and NPC Sell price.")
+ name = "Use Custom",
+ desc = "Use the custom format below instead of classic -> §eSell Offer §7and other profiles -> §eNPC Price.")
@ConfigEditorBoolean
@ConfigAccordionId(id = 13)
- public boolean moneyPerHourAdvancedStats = false;
+ public boolean moneyPerHourUseCustomFormat = false;
+
+ @Expose
+ @ConfigOption(
+ name = "Custom Format",
+ desc = "Set what prices to show")
+ @ConfigEditorDraggableList(
+ exampleText = {
+ "§eSell Offer",
+ "§eInstant Sell",
+ "§eNPC Price"
+ },
+ requireNonEmpty = true
+ )
+ @ConfigAccordionId(id = 13)
+ public List<Integer> moneyPerHourCustomFormat = new ArrayList<>(Arrays.asList(0, 1, 2));
@Expose
public Position moneyPerHourPos = new Position(16, -232, false, true);