diff options
author | David Cole <40234707+DavidArthurCole@users.noreply.github.com> | 2024-07-07 05:28:16 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-07 11:28:16 +0200 |
commit | 3d691842dd3a937369725a87bcf5d91546168491 (patch) | |
tree | 7d5a6fa025526ce8ce3a7bc3cf6c056c56343276 /src/main/java/at/hannibal2/skyhanni/config/features | |
parent | 4c300de2cf0a33a737a4c4a8291d61bb99fc1074 (diff) | |
download | skyhanni-3d691842dd3a937369725a87bcf5d91546168491.tar.gz skyhanni-3d691842dd3a937369725a87bcf5d91546168491.tar.bz2 skyhanni-3d691842dd3a937369725a87bcf5d91546168491.zip |
Improvement: Add Config option for Time Tower in "Best Upgrade" (#2142)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/inventory/chocolatefactory/ChocolateUpgradeWarningsConfig.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/inventory/chocolatefactory/ChocolateUpgradeWarningsConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/inventory/chocolatefactory/ChocolateUpgradeWarningsConfig.java index 113ac7362..6b39f7f49 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/inventory/chocolatefactory/ChocolateUpgradeWarningsConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/inventory/chocolatefactory/ChocolateUpgradeWarningsConfig.java @@ -5,6 +5,7 @@ import com.google.gson.annotations.Expose; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean; import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorSlider; import io.github.notenoughupdates.moulconfig.annotations.ConfigOption; +import io.github.notenoughupdates.moulconfig.observer.Property; public class ChocolateUpgradeWarningsConfig { @Expose @@ -26,4 +27,9 @@ public class ChocolateUpgradeWarningsConfig { ) @ConfigEditorSlider(minValue = 0, maxValue = 10, minStep = 0.25f) public float timeBetweenWarnings = 1; + + @Expose + @ConfigOption(name = "Include Time Tower", desc = "Include Time Tower in the list of upgrades to be considered 'next best'.") + @ConfigEditorBoolean + public Property<Boolean> upgradeWarningTimeTower = Property.of(false); } |