summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/features/dungeon/ObjectHighlighterConfig.java
blob: 385c162c6623fc59f15c6dda071952a402b78f0b (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
package at.hannibal2.skyhanni.config.features.dungeon;

import at.hannibal2.skyhanni.config.FeatureToggle;
import com.google.gson.annotations.Expose;
import io.github.notenoughupdates.moulconfig.annotations.Accordion;
import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean;
import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorColour;
import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorInfoText;
import io.github.notenoughupdates.moulconfig.annotations.ConfigOption;
import io.github.notenoughupdates.moulconfig.observer.Property;

public class ObjectHighlighterConfig {

    // TODO move some stuff from DungeonConfig into this

    @Expose
    @ConfigOption(name = "Stared", desc = "")
    @Accordion
    public StarredConfig starred = new StarredConfig();

    public static class StarredConfig {
        @Expose
        @ConfigOption(name = "Highlight Starred", desc = "Highlights all starred mobs in one colour.")
        @ConfigEditorBoolean
        @FeatureToggle
        public Property<Boolean> highlight = Property.of(true);

        /*
        TODO for someone who has time
        @Expose
        @ConfigOption(name = "Show Outline", desc = "Shows only a outline instead of a full highlight.")
        @ConfigEditorBoolean
        public Property<Boolean> showOutline = Property.of(true); */

        @ConfigOption(
            name = "No Chroma",
            desc = "§cThe chroma setting for the color is currently not working!"
        )
        @ConfigEditorInfoText
        public String info;

        @Expose
        @ConfigOption(name = "Colour", desc = "Color in which the stared mobs are highlighted.")
        @ConfigEditorColour
        public Property<String> colour = Property.of("0:60:255:255:0");
    }

    @Expose
    @ConfigOption(name = "Fels Skull", desc = "")
    @Accordion
    public FelConfig fel = new FelConfig();

    public static class FelConfig {

        @Expose
        @ConfigOption(name = "Highlight Fels Skull", desc = "Highlights fels that are not yet active.")
        @ConfigEditorBoolean
        @FeatureToggle
        public Property<Boolean> highlight = Property.of(true);

        @Expose
        @ConfigOption(name = "Draw Line", desc = "Draws a line to fels skulls. Works only if the highlight is enabled.")
        @ConfigEditorBoolean
        public Boolean line = false;

        @Expose
        @ConfigOption(name = "Colour", desc = "Color for the fel skull and line.")
        @ConfigEditorColour
        public Property<String> colour = Property.of("0:200:255:0:255");
    }

}