diff options
author | Erymanthus | RayDeeUx <51521765+RayDeeUx@users.noreply.github.com> | 2024-01-22 13:56:13 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-22 19:56:13 +0100 |
commit | 822913b506c63f8a322af76d3460a961e22b845c (patch) | |
tree | 3ff42b679f08cfc2786ad2c73b83570b6b3d8eac /src/main/java/at/hannibal2/skyhanni/config/features | |
parent | b75ba0014350e4cf6880e481a24398da906b978d (diff) | |
download | skyhanni-822913b506c63f8a322af76d3460a961e22b845c.tar.gz skyhanni-822913b506c63f8a322af76d3460a961e22b845c.tar.bz2 skyhanni-822913b506c63f8a322af76d3460a961e22b845c.zip |
Feature: Atmospheric Filter Display (#916)
Added Atmospheric Filter Display. #916
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/garden/AtmosphericFilterDisplayConfig.java | 43 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/garden/GardenConfig.java | 5 |
2 files changed, 48 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/garden/AtmosphericFilterDisplayConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/garden/AtmosphericFilterDisplayConfig.java new file mode 100644 index 000000000..8235e8714 --- /dev/null +++ b/src/main/java/at/hannibal2/skyhanni/config/features/garden/AtmosphericFilterDisplayConfig.java @@ -0,0 +1,43 @@ +package at.hannibal2.skyhanni.config.features.garden; + +import at.hannibal2.skyhanni.config.FeatureToggle; +import at.hannibal2.skyhanni.config.core.config.Position; +import com.google.gson.annotations.Expose; +import io.github.moulberry.moulconfig.annotations.ConfigEditorBoolean; +import io.github.moulberry.moulconfig.annotations.ConfigOption; + +public class AtmosphericFilterDisplayConfig { + + @Expose + @ConfigOption(name = "Enabled", desc = "Toggles the Atmospheric Filter display to show the currently active buff.\n" + + "§eNote: For an optimal experience, please have the Atmospheric Filter accessory active.") + @ConfigEditorBoolean + @FeatureToggle + public boolean enabled = false; + + @Expose + @ConfigOption(name = "Only Show Buff", desc = "Show only the currently active buff without the currently active season.") + @ConfigEditorBoolean + public boolean onlyBuff = false; + + @Expose + @ConfigOption(name = "Abbreviate Season", desc = "Abbreviates the current season.") + @ConfigEditorBoolean + public boolean abbreviateSeason = false; + + @Expose + @ConfigOption(name = "Abbreviate Perk", desc = "Abbreviates the currently active buff.") + @ConfigEditorBoolean + public boolean abbreviatePerk = false; + + @Expose + @ConfigOption(name = "Outside Garden", desc = "Shows this HUD everywhere, including outside of the Garden.") + @ConfigEditorBoolean + public boolean everywhere = false; + + @Expose + public Position position = new Position(10, 10, true, true); + @Expose + public Position positionOutside = new Position(20, 20, true, true); + +} diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/garden/GardenConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/garden/GardenConfig.java index b541cd0ee..cdea4e3ee 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/garden/GardenConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/garden/GardenConfig.java @@ -120,6 +120,11 @@ public class GardenConfig { public GardenCommandsConfig gardenCommands = new GardenCommandsConfig(); @Expose + @ConfigOption(name = "Atmospheric Filter Display", desc = "") + @Accordion + public AtmosphericFilterDisplayConfig atmosphericFilterDisplay = new AtmosphericFilterDisplayConfig(); + + @Expose @ConfigOption(name = "Plot Price", desc = "Show the price of the plot in coins when inside the Configure Plots inventory.") @ConfigEditorBoolean @FeatureToggle |