diff options
author | hannibal2 <24389977+hannibal002@users.noreply.github.com> | 2024-05-08 21:13:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-08 21:13:11 +0200 |
commit | 64ffd48ac791019ce4e4a610541b143a4c9d9b44 (patch) | |
tree | ec231583b75aa432061ab22604001e09c25633de /src/main/java/at/hannibal2/skyhanni/config/features | |
parent | bd117b2d181a6abb419021f815e4ad07cc05a37f (diff) | |
download | skyhanni-64ffd48ac791019ce4e4a610541b143a4c9d9b44.tar.gz skyhanni-64ffd48ac791019ce4e4a610541b143a4c9d9b44.tar.bz2 skyhanni-64ffd48ac791019ce4e4a610541b143a4c9d9b44.zip |
Improvement: Custom Reminder (#1740)
Co-authored-by: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com>
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Co-authored-by: Cal <cwolfson58@gmail.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
2 files changed, 42 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/inventory/chocolatefactory/ChocolateFactoryConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/inventory/chocolatefactory/ChocolateFactoryConfig.java index a88e79023..bffc5cc8e 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/inventory/chocolatefactory/ChocolateFactoryConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/inventory/chocolatefactory/ChocolateFactoryConfig.java @@ -166,4 +166,9 @@ public class ChocolateFactoryConfig { @Accordion public ChocolateFactoryKeybindsConfig keybinds = new ChocolateFactoryKeybindsConfig(); + @Expose + @ConfigOption(name = "Chocolate Factory Custom Reminder", desc = "") + @Accordion + public ChocolateFactoryCustomReminderConfig customReminder = new ChocolateFactoryCustomReminderConfig(); + } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/inventory/chocolatefactory/ChocolateFactoryCustomReminderConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/inventory/chocolatefactory/ChocolateFactoryCustomReminderConfig.java new file mode 100644 index 000000000..dd033edb7 --- /dev/null +++ b/src/main/java/at/hannibal2/skyhanni/config/features/inventory/chocolatefactory/ChocolateFactoryCustomReminderConfig.java @@ -0,0 +1,37 @@ +package at.hannibal2.skyhanni.config.features.inventory.chocolatefactory; + +import at.hannibal2.skyhanni.config.FeatureToggle; +import at.hannibal2.skyhanni.config.core.config.Position; +import com.google.gson.annotations.Expose; +import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean; +import io.github.notenoughupdates.moulconfig.annotations.ConfigLink; +import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; + +public class ChocolateFactoryCustomReminderConfig { + + @Expose + @ConfigOption( + name = "Enabled", + desc = "Show a custom reminder until you can purchase the next upgrade. " + + "Click on one item you cant buy to select/deselect it." + ) + @ConfigEditorBoolean + @FeatureToggle + public boolean enabled = false; + + @Expose + @ConfigOption(name = "Always Custom Reminder", desc = "Always show the display always, even outside the chocolate factory.") + @ConfigEditorBoolean + @FeatureToggle + public boolean always = false; + + @Expose + @ConfigOption(name = "Hide No Chocolate Message", desc = "Hide the chat message telling you you dont have enough chocolate to buy/purchase something.") + @ConfigEditorBoolean + @FeatureToggle + public boolean hideChat = true; + + @Expose + @ConfigLink(owner = ChocolateFactoryConfig.class, field = "customReminder") + public Position position = new Position(390, 90, 1f, true); +} |