From cdcc7b35e38ddb5e00d8a4d900c4cad77bd6e1f5 Mon Sep 17 00:00:00 2001 From: appable Date: Sat, 16 Dec 2023 03:13:06 -0800 Subject: Feature: Active spray display and expiry notification (#800) Added Spray Display and Spray Expiration Notice. #800 --- .../config/features/garden/pests/SprayConfig.java | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'src/main/java/at/hannibal2/skyhanni/config') diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/SprayConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/SprayConfig.java index da715712f..07f73ba78 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/SprayConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/SprayConfig.java @@ -25,4 +25,25 @@ public class SprayConfig { @Expose public Position position = new Position(315, -200, 2.3f); + + @Expose + @ConfigOption( + name = "Spray Display", + desc = "Show the active spray and duration for your current plot." + ) + @ConfigEditorBoolean + @FeatureToggle + public boolean displayEnabled = true; + + @Expose + @ConfigOption( + name = "Spray Expiration Notice", + desc = "Show a notification in chat when a spray runs out in any plot. Only active in Garden." + ) + @ConfigEditorBoolean + @FeatureToggle + public boolean expiryNotification = true; + + @Expose + public Position displayPosition = new Position(390, 75, false, true); } -- cgit