aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/garden/visitor/RewardWarningConfig.java24
1 files changed, 23 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/garden/visitor/RewardWarningConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/garden/visitor/RewardWarningConfig.java
index d136894dd..eb160afcc 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/garden/visitor/RewardWarningConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/garden/visitor/RewardWarningConfig.java
@@ -78,7 +78,29 @@ public class RewardWarningConfig {
public boolean preventAcceptingCopper = false;
@Expose
- @ConfigOption(name = "Block Refusing New Visitors", desc = "Prevent refusing visitors you've never completed an offer with.")
+ @ConfigOption(
+ name = "Acceptable Coin Loss",
+ desc = "The price to use for the below options.\n" +
+ "Requires one of the below options to be on.\n" +
+ "Above options take precedence."
+ )
+ @ConfigEditorSlider(minValue = 1, maxValue = 500_000, minStep = 1000)
+ public int coinsLossThreshold = 150_000;
+
+ @Expose
+ @ConfigOption(name = "Block Refusing Low Loss", desc = "Prevent refusing a visitor with a net loss lower than a certain value.")
+ @ConfigEditorBoolean
+ @FeatureToggle
+ public boolean preventRefusingLowLoss = false;
+
+ @Expose
+ @ConfigOption(name = "Block Accepting High Loss", desc = "Prevent accepting a visitor with a net loss higher than a certain value.")
+ @ConfigEditorBoolean
+ @FeatureToggle
+ public boolean preventAcceptingHighLoss = false;
+
+ @Expose
+ @ConfigOption(name = "Block Refusing New Visitors", desc = "Prevents refusing a visitor you've never completed an offer with.")
@ConfigEditorBoolean
@FeatureToggle
public boolean preventRefusingNew = true;