diff options
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
3 files changed, 40 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/Features.java b/src/main/java/at/hannibal2/skyhanni/config/Features.java index dd6afbb44..916cb896b 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/Features.java +++ b/src/main/java/at/hannibal2/skyhanni/config/Features.java @@ -85,6 +85,10 @@ public class Features { public Abilities abilities = new Abilities(); @Expose + @Category(name = "Minion", desc = "Stuff about minions") + public Minions minions = new Minions(); + + @Expose @Category(name = "Bazaar", desc = "Bazaar settings.") public Bazaar bazaar = new Bazaar(); 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; +} |