aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/features/ItemAbilityConfig.java
blob: 30ba1227f2b3eda3956f1d4bcccbb65f261426ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
package at.hannibal2.skyhanni.config.features;

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.Accordion;
import io.github.moulberry.moulconfig.annotations.ConfigEditorBoolean;
import io.github.moulberry.moulconfig.annotations.ConfigEditorColour;
import io.github.moulberry.moulconfig.annotations.ConfigEditorDropdown;
import io.github.moulberry.moulconfig.annotations.ConfigOption;

public class ItemAbilityConfig {

    @Expose
    @ConfigOption(name = "Ability Cooldown", desc = "Show the cooldown of item abilities.")
    @ConfigEditorBoolean
    @FeatureToggle
    public boolean itemAbilityCooldown = false;

    @Expose
    @ConfigOption(name = "Ability Cooldown Background", desc = "Show the cooldown color of item abilities in the background.")
    @ConfigEditorBoolean
    public boolean itemAbilityCooldownBackground = false;

    @Expose
    @ConfigOption(name = "Fire Veil", desc = "")
    @Accordion
    public FireVeilWandConfig fireVeilWands = new FireVeilWandConfig();

    public static class FireVeilWandConfig {
        @Expose
        @ConfigOption(name = "Fire Veil Design", desc = "Changes the flame particles of the Fire Veil Wand ability.")
        @ConfigEditorDropdown(values = {"Particles", "Line", "Off"})
        public int display = 0;

        @Expose
        @ConfigOption(
                name = "Line Color",
                desc = "Changes the color of the Fire Veil Wand line."
        )
        @ConfigEditorColour
        public String displayColor = "0:245:255:85:85";
    }

    @ConfigOption(name = "Chicken Head", desc = "")
    @Accordion
    @Expose
    public ChickenHeadConfig chickenHead = new ChickenHeadConfig();

    public static class ChickenHeadConfig {

        @Expose
        @ConfigOption(name = "Checken Head Timer", desc = "Show the cooldown until the next time you can lay an egg with the Chicken Head.")
        @ConfigEditorBoolean
        @FeatureToggle
        public boolean displayTimer = false;

        @Expose
        public Position position = new Position(-372, 73, false, true);

        @Expose
        @ConfigOption(name = "Hide Chat", desc = "Hide the 'You laid an egg!' chat message.")
        @ConfigEditorBoolean
        @FeatureToggle
        public boolean hideChat = true;
    }

    @Expose
    @ConfigOption(name = "Depleted Bonzo's Masks",
            desc = "Highlights used Bonzo's Masks and Spirit Masks with a background.")
    @ConfigEditorBoolean
    @FeatureToggle
    public boolean depletedBonzosMasks = false;
}