diff options
author | J10a1n15 <45315647+j10a1n15@users.noreply.github.com> | 2024-04-07 10:30:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-07 10:30:03 +0200 |
commit | 31bfd8a1d3437f4bdbefa7bcba75143e37c4ac90 (patch) | |
tree | cc443ddafd6ed278991ae6e4814debff9734a704 /src/main/java/at/hannibal2/skyhanni/config | |
parent | 290ec20019977dfb1dbd3a8e6c152693c3337918 (diff) | |
download | skyhanni-31bfd8a1d3437f4bdbefa7bcba75143e37c4ac90.tar.gz skyhanni-31bfd8a1d3437f4bdbefa7bcba75143e37c4ac90.tar.bz2 skyhanni-31bfd8a1d3437f4bdbefa7bcba75143e37c4ac90.zip |
Backend: Mayor Overwrite (#1302)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
3 files changed, 8 insertions, 10 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/dev/DebugConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/dev/DebugConfig.java index c43680efe..f3548b548 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/dev/DebugConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/dev/DebugConfig.java @@ -1,10 +1,13 @@ package at.hannibal2.skyhanni.config.features.dev; import at.hannibal2.skyhanni.config.core.config.Position; +import at.hannibal2.skyhanni.data.Mayor; import com.google.gson.annotations.Expose; import io.github.moulberry.moulconfig.annotations.ConfigEditorBoolean; +import io.github.moulberry.moulconfig.annotations.ConfigEditorDropdown; import io.github.moulberry.moulconfig.annotations.ConfigEditorKeybind; import io.github.moulberry.moulconfig.annotations.ConfigOption; +import io.github.moulberry.moulconfig.observer.Property; import org.lwjgl.input.Keyboard; public class DebugConfig { @@ -119,6 +122,11 @@ public class DebugConfig { public boolean currentAreaDebug = true; @Expose + @ConfigOption(name = "Assume Mayor", desc = "Select a mayor to assume.") + @ConfigEditorDropdown + public Property<Mayor> assumeMayor = Property.of(Mayor.DISABLED); + + @Expose @ConfigOption(name = "Always April Fools", desc = "Always show April fools jokes.") @ConfigEditorBoolean public boolean alwaysFunnyTime = false; diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/event/diana/DianaConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/event/diana/DianaConfig.java index 9c46400f5..dea5b4fb7 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/event/diana/DianaConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/event/diana/DianaConfig.java @@ -66,11 +66,6 @@ public class DianaConfig { public boolean petWarning = true; @Expose - @ConfigOption(name = "Always Diana", desc = "Forcefully set the Diana event to be active. This is useful if the auto mayor detection fails.") - @ConfigEditorBoolean - public boolean alwaysDiana = false; - - @Expose @ConfigOption(name = "Diana Profit Tracker", desc = "") @Accordion public DianaProfitTrackerConfig dianaProfitTracker = new DianaProfitTrackerConfig(); 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 b19a706f0..4496b8731 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 @@ -215,11 +215,6 @@ public class GardenConfig { public boolean jacobContestSummary = true; @Expose - @ConfigOption(name = "Always Finnegan", desc = "Forcefully set the Finnegan Farming Simulator perk to be active. This is useful if the auto mayor detection fails.") - @ConfigEditorBoolean - public boolean forcefullyEnabledAlwaysFinnegan = false; - - @Expose public Position cropSpeedMeterPos = new Position(278, -236, false, true); @Expose |