aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/features/EventConfig.java
blob: 7b4d0211f3cc545be58443f7ed229ddea4e4e3ec (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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
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.ConfigEditorDraggableList;
import io.github.moulberry.moulconfig.annotations.ConfigEditorKeybind;
import io.github.moulberry.moulconfig.annotations.ConfigOption;
import io.github.moulberry.moulconfig.observer.Property;
import org.lwjgl.input.Keyboard;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class EventConfig {

    @ConfigOption(name = "Monthly Bingo", desc = "")
    @Accordion
    @Expose
    public BingoConfig bingo = new BingoConfig();

    public static class BingoConfig {

        @Expose
        @ConfigOption(name = "Bingo Card", desc = "")
        @Accordion
        public BingoCardConfig bingoCard = new BingoCardConfig();

        public static class BingoCardConfig {
            @Expose
            @ConfigOption(name = "Enable", desc = "Displays the Bingo Card.")
            @ConfigEditorBoolean
            @FeatureToggle
            public boolean enabled = true;
            @Expose
            @ConfigOption(name = "Quick Toggle", desc = "Quickly toggle the Bingo Card or the step helper by sneaking with SkyBlock Menu in hand.")
            @ConfigEditorBoolean
            public boolean quickToggle = true;

            @Expose
            @ConfigOption(name = "Bingo Steps", desc = "Show help with the next step in Bingo instead of the Bingo Card. " +
                    "§cThis feature is in early development. Expect bugs and missing goals.")
            @ConfigEditorBoolean
            public boolean stepHelper = false;

            @Expose
            @ConfigOption(name = "Hide Community Goals", desc = "Hide Community Goals from the Bingo Card display.")
            @ConfigEditorBoolean
            public Property<Boolean> hideCommunityGoals = Property.of(false);

            @Expose
            @ConfigOption(
                    name = "Show Guide",
                    desc = "Show tips and difficulty for bingo goals inside the Bingo Card inventory.\n" +
                            "These tips are made from inspirations and guides from the community,\n"+
                            "aiming to help you to complete the bingo card."
            )
            @ConfigEditorBoolean
            @FeatureToggle
            public boolean bingoSplashGuide = true;

            @Expose
            public Position bingoCardPos = new Position(10, 10, false, true);
        }

        @Expose
        @ConfigOption(name = "Compact Chat Messages", desc = "")
        @Accordion
        public CompactChatConfig compactChat = new CompactChatConfig();

        public static class CompactChatConfig {

            @Expose
            @ConfigOption(name = "Enable", desc = "Shortens chat messages about skill level ups, collection gains, " +
                    "new area discoveries and SkyBlock level up messages while on Bingo.")
            @ConfigEditorBoolean
            @FeatureToggle
            public boolean enabled = true;

            @Expose
            @ConfigOption(name = "Hide Border", desc = "Hide the border messages before and after the compact level up messages.")
            @ConfigEditorBoolean
            @FeatureToggle
            public boolean hideBorder = true;

            @Expose
            @ConfigOption(name = "Outside Bingo", desc = "Compact the level up chat messages outside of an Bingo profile as well.")
            @ConfigEditorBoolean
            public boolean outsideBingo = false;
        }

        @Expose
        @ConfigOption(name = "Minion Craft Helper", desc = "Show how many more items you need to upgrade the minion in your inventory. Especially useful for Bingo.")
        @ConfigEditorBoolean
        @FeatureToggle
        public boolean minionCraftHelperEnabled = true;

        @Expose
        public Position minionCraftHelperPos = new Position(10, 10, false, true);
    }

    @ConfigOption(name = "Diana's Mythological Burrows", desc = "")
    @Accordion
    @Expose
    public DianaConfig diana = new DianaConfig();

    public static class DianaConfig {


        @Expose
        @ConfigOption(name = "Soopy Guess", desc = "Uses §eSoopy's Guess Logic §7to find the next burrow. Does not require SoopyV2 or ChatTriggers to be installed.")
        @ConfigEditorBoolean
        @FeatureToggle
        public boolean burrowsSoopyGuess = false;

        @Expose
        @ConfigOption(name = "Nearby Detection", desc = "Show burrows near you.")
        @ConfigEditorBoolean
        @FeatureToggle
        public boolean burrowsNearbyDetection = false;

        @Expose
        @ConfigOption(name = "Smooth Transition", desc = "Show the way from one burrow to another smoothly.")
        @ConfigEditorBoolean
        public boolean burrowSmoothTransition = false;

        @Expose
        @ConfigOption(name = "Nearest Warp", desc = "Warps to the nearest warp point on the hub, if closer to the next burrow.")
        @ConfigEditorBoolean
        public boolean burrowNearestWarp = false;

        @Expose
        @ConfigOption(name = "Warp Key", desc = "Press this key to warp to nearest burrow waypoint.")
        @ConfigEditorKeybind(defaultKey = Keyboard.KEY_NONE)
        public int keyBindWarp = Keyboard.KEY_NONE;

        @Expose
        @ConfigOption(name = "Ignored Warps", desc = "")
        @Accordion
        public IgnoredWarpsConfig ignoredWarps = new IgnoredWarpsConfig();

        public static class IgnoredWarpsConfig {

            @Expose
            @ConfigOption(name = "Crypt", desc = "Ignore the Crypt warp point (Because it takes a long time to leave).")
            @ConfigEditorBoolean
            public boolean crypt = false;

            @Expose
            @ConfigOption(name = "Wizard", desc = "Ignore the Wizard Tower warp point (Because it is easy to fall into the rift).")
            @ConfigEditorBoolean
            public boolean wizard = false;

        }

        @Expose
        @ConfigOption(name = "Inquisitor Waypoint Sharing", desc = "")
        @Accordion
        public InquisitorSharingConfig inquisitorSharing = new InquisitorSharingConfig();

        public static class InquisitorSharingConfig {

            @Expose
            @ConfigOption(name = "Enabled", desc = "Shares your Inquisitor and receiving other Inquisitors via Party Chat.")
            @ConfigEditorBoolean
            @FeatureToggle
            public boolean enabled = true;

            @Expose
            @ConfigOption(name = "Focus", desc = "Hide other waypoints when your Party finds an Inquisitor.")
            @ConfigEditorBoolean
            public boolean focusInquisitor = false;

            @Expose
            @ConfigOption(name = "Instant Share", desc = "Share the waypoint as soon as you find an Inquisitor. As an alternative, you can share it only via key press.")
            @ConfigEditorBoolean
            public boolean instantShare = true;

            @Expose
            @ConfigOption(name = "Share Key", desc = "Press this key to share your Inquisitor Waypoint.")
            @ConfigEditorKeybind(defaultKey = Keyboard.KEY_Y)
            public int keyBindShare = Keyboard.KEY_Y;

            @Expose
            @ConfigOption(name = "Show Despawn Time", desc = "Show the time until the shared Inquisitor will despawn.")
            @ConfigEditorBoolean
            public boolean showDespawnTime = true;
        }

        @Expose
        @ConfigOption(name = "Griffin Pet Warning", desc = "Warn when holding an Ancestral Spade if a Griffin Pet is not equipped.")
        @ConfigEditorBoolean
        @FeatureToggle
        public boolean petWarning = true;

        @Expose
        @ConfigOption(name = "Always Diana", desc = "Forcefully set the Diana event to be active. This is useful if the auto mayor detection fails.")
        @ConfigEditorBoolean
        public boolean alwaysDiana = false;
    }

    @ConfigOption(name = "Winter Season on Jerry's Island", desc = "")
    @Accordion
    @Expose
    public WinterConfig winter = new WinterConfig();

    public static class WinterConfig {

        @Expose
        @ConfigOption(name = "Frozen Treasure Tracker", desc = "")
        @Accordion
        public FrozenTreasureConfig frozenTreasureTracker = new FrozenTreasureConfig();

        public static class FrozenTreasureConfig {

            @Expose
            @ConfigOption(
                    name = "Enabled",
                    desc = "Tracks all of your drops from Frozen Treasure in the Glacial Caves.\n" +
                            "§eIce calculations are an estimate but are relatively accurate."
            )
            @ConfigEditorBoolean
            @FeatureToggle
            public boolean enabled = true;

            @Expose
            @ConfigOption(
                    name = "Text Format",
                    desc = "Drag text to change the appearance of the overlay."
            )
            @ConfigEditorDraggableList(
                    exampleText = {
                            "§1§lFrozen Treasure Tracker",
                            "§61,636 Treasures Mined",
                            "§33.2m Total Ice",
                            "§3342,192 Ice/hr",
                            "§81,002 Compact Procs",
                            " ",
                            "§b182 §fWhite Gift",
                            "§b94 §aGreen Gift",
                            "§b17 §9§cRed Gift",
                            "§b328 §fPacked Ice",