aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/options/separatesections/Dungeons.java
blob: 4ea94f1d4528f3805ce9245dd744f747c6999fe6 (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
/*
 * Copyright (C) 2022 NotEnoughUpdates contributors
 *
 * This file is part of NotEnoughUpdates.
 *
 * NotEnoughUpdates is free software: you can redistribute it
 * and/or modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation, either
 * version 3 of the License, or (at your option) any later version.
 *
 * NotEnoughUpdates is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with NotEnoughUpdates. If not, see <https://www.gnu.org/licenses/>.
 */

package io.github.moulberry.notenoughupdates.options.separatesections;

import com.google.gson.annotations.Expose;
import io.github.moulberry.moulconfig.annotations.ConfigAccordionId;
import io.github.moulberry.moulconfig.annotations.ConfigEditorAccordion;
import io.github.moulberry.moulconfig.annotations.ConfigEditorBoolean;
import io.github.moulberry.moulconfig.annotations.ConfigEditorButton;
import io.github.moulberry.moulconfig.annotations.ConfigEditorColour;
import io.github.moulberry.moulconfig.annotations.ConfigEditorDropdown;
import io.github.moulberry.moulconfig.annotations.ConfigEditorInfoText;
import io.github.moulberry.moulconfig.annotations.ConfigEditorSlider;
import io.github.moulberry.moulconfig.annotations.ConfigOption;

public class Dungeons {

	@ConfigOption(
		name = "Dungeon Map",
		desc = ""
	)
	@ConfigEditorAccordion(id = 0)
	public boolean dungeonMapAccordion = false;

	@Expose
	@ConfigOption(
		name = "Edit Dungeon Map",
		desc = "The NEU dungeon map has its own editor (/neumap).\n" +
			"Click the button on the left to open it"
	)
	@ConfigEditorButton(
		runnableId = 0,
		buttonText = "Edit"
	)
	@ConfigAccordionId(id = 0)
	public int editDungeonMap = 0;

	@Expose
	@ConfigOption(
		name = "Show Own Head As Marker",
		desc = "If you have the \"Head\" icon style selected, don't replace your green marker with a head"
	)
	@ConfigEditorBoolean
	@ConfigAccordionId(id = 0)
	public boolean showOwnHeadAsMarker = false;

	@ConfigOption(
		name = "Dungeon Profit",
		desc = ""
	)
	@ConfigEditorAccordion(id = 1)
	public boolean dungeonProfitAccordion = false;

	@Expose
	@ConfigOption(
		name = "Profit Type",
		desc = "Set the price dataset used for calculating profit"
	)
	@ConfigEditorDropdown(
		values = {"Lowest BIN", "24 AVG Lowest Bin", "Auction AVG"}
	)
	@ConfigAccordionId(id = 1)
	public int profitType = 0;

	@Expose
	@ConfigOption(
		name = "Profit Display Location",
		desc = "Set where the profit information is displayed\n" +
			"Overlay = Overlay on right side of inventory\n" +
			"GUI Title = Text displayed next to the inventory title\n" +
			"Lore = Inside the \"Open Reward Chest\" item"
	)
	@ConfigEditorDropdown(
		values = {"Overlay", "GUI Title", "Lore", "Off"}
	)
	@ConfigAccordionId(id = 1)
	public int profitDisplayLoc = 0;

	@Expose
	@ConfigOption(
		name = "Include Kismet Feather",
		desc = "Include Kismet Feathers in the Profit Calculation after rerolling"
	)
	@ConfigEditorBoolean
	@ConfigAccordionId(id = 1)
	public boolean useKismetOnDungeonProfit = true;

	@Expose
	@ConfigOption(
		name = "Include Essence Cost",
		desc = "Include Bazaar Essence Sell Cost in the Profit Calculation for Dungeon Chests"
	)
	@ConfigEditorBoolean
	@ConfigAccordionId(id = 1)
	public boolean useEssenceCostFromBazaar = true;

	@Expose
	@ConfigOption(
		name = "Warning if Derpy active",
		desc = "Shows a warning if the mayor Derpy is active"
	)
	@ConfigEditorBoolean
	@ConfigAccordionId(id = 1)
	public boolean shouldWarningDerpy = true;

	@ConfigOption(
		name = "Dungeon Win Overlay",
		desc = ""
	)
	@ConfigEditorAccordion(id = 3)
	public boolean dungeonWinAccordion = false;

	@Expose
	@ConfigOption(
		name = "Enable Dungeon Win",
		desc = "Show a fancy win screen and stats when completing a dungeon"
	)
	@ConfigEditorBoolean
	@ConfigAccordionId(id = 3)
	public boolean enableDungeonWin = true;

	@Expose
	@ConfigOption(
		name = "Dungeon Win Time",
		desc = "Change the amount of time (milliseconds) that the win screen shows for"
	)
	@ConfigEditorSlider(
		minValue = 0,
		maxValue = 20000,
		minStep = 500
	)
	@ConfigAccordionId(id = 3)
	public int dungeonWinMillis = 8000;

	@ConfigOption(
		name = "Dungeon Block Overlay",
		desc = ""
	)

	@ConfigEditorAccordion(id = 2)
	public boolean dungeonBlocksAccordion = false;

	@ConfigOption(
		name = "\u00A7cWarning",
		desc = "You need Fast Render and Antialiasing off for these settings to work\n" +
			"You can find these in your video settings"
	)
	@ConfigEditorInfoText()
	@ConfigAccordionId(id = 2)
	public boolean dungeonBlockWarning = false;

	@Expose
	@ConfigOption(
		name = "Enable Block Overlay",
		desc = "Change the colour of certain blocks / entities while inside dungeons, but keeps the normal texture outside of dungeons"
	)
	@ConfigEditorBoolean
	@ConfigAccordionId(id = 2)
	public boolean enableDungBlockOverlay = true;

	@Expose
	@ConfigOption(
		name = "Show Overlay Everywhere",
		desc = "Show the dungeon block overlay even when not inside dungeons. Should only be used for testing."
	)
	@ConfigEditorBoolean
	@ConfigAccordionId(id = 2)
	public boolean dungeonBlocksEverywhere = false;

	@Expose
	@ConfigOption(
		name = "Slow Update",
		desc = "Updates the colour every second instead of every tick.\n" +
			"\u00A7cWARNING: This will cause all texture animations (eg. flowing water) to update slowly.\n" +
			"This should only be used on low-end machines"
	)
	@ConfigEditorBoolean
	@ConfigAccordionId(id = 2)
	public boolean slowDungeonBlocks = false;

	@Expose
	@ConfigOption(
		name = "Cracked Bricks",
		desc = "Change the colour of: Cracked Bricks"
	)
	@ConfigEditorColour
	@ConfigAccordionId(id = 2)
	public String dungCrackedColour = "0:255:7:255:217";

	@Expose
	@ConfigOption(
		name = "Dispensers",
		desc = "Change the colour of: Dispensers"
	)
	@ConfigEditorColour
	@ConfigAccordionId(id = 2)
	public String dungDispenserColour = "0:255:255:76:0";

	@Expose
	@ConfigOption(
		name = "Levers",
		desc = "Change the colour of: Levers"
	)
	@ConfigEditorColour
	@ConfigAccordionId(id = 2)
	public String dungLeverColour = "0:252:24:249:255";

	@Expose
	@ConfigOption(
		name = "Tripwire String",
		desc = "Change the colour of: Tripwire String"
	)
	@ConfigEditorColour
	@ConfigAccordionId(id = 2)
	public String dungTripWireColour = "0:255:255:0:0";

	@Expose
	@ConfigOption(
		name = "Normal Chests",
		desc = "Change the colour of: Normal Chests"
	)
	@ConfigEditorColour
	@ConfigAccordionId(id = 2)
	public String dungChestColour = "0:255:0:163:36";

	@Expose
	@ConfigOption(
		name = "Trapped Chests",
		desc = "Change the colour of: Trapped Chests"
	)
	@ConfigEditorColour
	@ConfigAccordionId(id = 2)
	public String dungTrappedChestColour = "0:255:0:163:36";

	@Expose
	@ConfigOption(
		name = "Bats",
		desc = "Change the colour of: Bats"
	)
	@ConfigEditorColour
	@ConfigAccordionId(id = 2)
	public String dungBatColour = "0:255:12:255:0";

	@ConfigOption(
		name = "Croesus Overlay",
		desc = ""
	)
	@ConfigEditorAccordion(id = 4)
	public boolean croesusAccordion = false;

	@Expose
	@ConfigOption(
		name = "Enable Croesus Overlay",
		desc = "Shows a profit overlay next to your inventory when viewing chest previews at the Croesus NPC"
	)
	@ConfigEditorBoolean
	@ConfigAccordionId(id = 4)
	public boolean croesusProfitOverlay = true;

	@Expose
	@ConfigOption(
		name = "Sort by profit",
		desc = "Lists the chest by profit (descending)"
	)
	@ConfigEditorBoolean
	@ConfigAccordionId(id = 4)
	public boolean croesusSortByProfit = true;

	@Expose
	@ConfigOption(
		name = "Highlight highest profit",
		desc = "Highlight the chest which has the most profit"
	)
	@ConfigEditorBoolean
	@ConfigAccordionId(id = 4)
	public boolean croesusHighlightHighestProfit = true;

}