diff options
author | Lorenz <lo.scherf@gmail.com> | 2022-08-23 00:55:22 +0200 |
---|---|---|
committer | Lorenz <lo.scherf@gmail.com> | 2022-08-23 00:55:22 +0200 |
commit | 57b351f66232fd7323234ab3e407729667c40143 (patch) | |
tree | 6cc90af01b85578e1d91cd9230d8aae342f10d3c /src/main/java/at/hannibal2/skyhanni/config/features | |
parent | cd4d86f9cae10700c2ca53ac55e8d8d08702574c (diff) | |
download | skyhanni-57b351f66232fd7323234ab3e407729667c40143.tar.gz skyhanni-57b351f66232fd7323234ab3e407729667c40143.tar.bz2 skyhanni-57b351f66232fd7323234ab3e407729667c40143.zip |
added last minion display
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/Abilities.java | 2 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/Minions.java | 35 |
2 files changed, 36 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/Abilities.java b/src/main/java/at/hannibal2/skyhanni/config/features/Abilities.java index 206d9e3e9..8c7c0074b 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/Abilities.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/Abilities.java @@ -50,5 +50,5 @@ public class Abilities { desc = "Color of the Ashfang Gravity Orbs" ) @ConfigEditorColour - public String ashfangGravityOrbsColor = "0:135:255:85:85"; + public String ashfangGravityOrbsColor = "0:245:255:85:85"; } diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/Minions.java b/src/main/java/at/hannibal2/skyhanni/config/features/Minions.java new file mode 100644 index 000000000..d851c7436 --- /dev/null +++ b/src/main/java/at/hannibal2/skyhanni/config/features/Minions.java @@ -0,0 +1,35 @@ +package at.hannibal2.skyhanni.config.features; + +import at.hannibal2.skyhanni.config.gui.core.config.annotations.ConfigEditorBoolean; +import at.hannibal2.skyhanni.config.gui.core.config.annotations.ConfigEditorColour; +import at.hannibal2.skyhanni.config.gui.core.config.annotations.ConfigEditorSlider; +import at.hannibal2.skyhanni.config.gui.core.config.annotations.ConfigOption; +import com.google.gson.annotations.Expose; + +public class Minions { + + @Expose + @ConfigOption(name = "Last Minion Display", desc = "Show the last opened minion on your island") + @ConfigEditorBoolean + public boolean lastOpenedMinionDisplay = false; + + @Expose + @ConfigOption( + name = "Last Minion Color", + desc = "The colour in which the last minion should be displayed" + ) + @ConfigEditorColour + public String lastOpenedMinionColor = "0:245:85:255:85"; + + @Expose + @ConfigOption( + name = "Last Minion Time", + desc = "Time in seconds how long the last minion should be displayed" + ) + @ConfigEditorSlider( + minValue = 3, + maxValue = 120, + minStep = 1 + ) + public int lastOpenedMinionTime = 20; +} |