-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDatabaseDefaults.lua
More file actions
145 lines (125 loc) · 3.37 KB
/
DatabaseDefaults.lua
File metadata and controls
145 lines (125 loc) · 3.37 KB
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
-- Triage - Enhanced Raid Frames Reforged
-- Original work copyright (c) 2017-2025 Britt W. Yazel
-- Continued by Royaleint - licensed under the MIT license (see LICENSE for details)
-- Create a local handle to our addon table
---@type Triage
local Triage = _G.Triage
-- Latest Database Version (<major>.<minor>)
Triage.DATABASE_VERSION = 2.3
-------------------------------------------------------------------------
-------------------------------------------------------------------------
--- Create a table containing our default database values
function Triage:CreateDefaults()
local defaults = {}
defaults.profile = {
--------------------------------
------- General Settings -------
--------------------------------
-- Default Icon Visibility
showBuffs = true,
showDebuffs = true,
showDispellableDebuffs = true,
-- Visual Options
powerBarOffset = true,
frameScale = 1,
backgroundAlpha = 1,
indicatorFont = "Arial Narrow",
-- Minimap Button
minimap = {
hide = false,
},
-- Test Mode
testModeLastSize = 5,
testModePosition = {},
configWindowStatus = {},
defaultsState = {
aura = {},
},
-- Out-of-Range Options
customRangeCheck = false,
customRange = 30,
rangeAlpha = 0.55,
keepIndicatorsVisible = false,
-------------------------------
-------- Triage Focus ---------
-------------------------------
triageFocus = {
enabled = true,
forceEnabled = false,
rangeMode = "auto",
fixedRange = 40,
minDeficitPercent = 15,
updateInterval = 0.3,
color = { 0.1, 0.85, 1, 0.9 },
width = 2,
glowStyle = "both", -- "border", "pulse", "both"
},
-------------------------------
---- Dispel Overlay (Retail) ---
-------------------------------
dispelOverlay = {
enabled = true,
colorByType = true,
glowStyle = "both", -- "border", "pulse", "both"
borderAlpha = 0.8,
showInParty = true,
showInRaid = true,
},
--------------------------------
---- Target Marker Settings ----
--------------------------------
-- General Options
showTargetMarkers = true,
markerPosition = 5,
-- Visual Options
markerSize = 20,
markerAlpha = 1,
-- Position Options
markerVerticalOffset = 0,
markerVerticalNudge = 4,
markerHorizontalOffset = 0,
}
-----------------------------------
---- Indicator Option Settings ----
-----------------------------------
for i = 1, 9 do
defaults.profile["indicator-" .. i] = {
-- Aura Strings
auras = "",
-- Visibility and Behavior
casterFilter = "all",
meOnly = false,
missingOnly = false,
showTooltip = true,
tooltipLocation = "ANCHOR_CURSOR",
-- Icon and Color
indicatorSize = 18,
indicatorHorizontalOffset = 0,
indicatorVerticalOffset = 0,
showIcon = true,
indicatorAlpha = 1,
indicatorColor = { 0, 1, 0.59, 1 },
colorIndicatorByDebuff = false,
colorIndicatorByTime = false,
colorIndicatorByTime_low = 2,
colorIndicatorByTime_high = 5,
-- Text and Color
showCountdownText = false,
showStackSize = true,
stackSizeLocation = "BOTTOMRIGHT",
countdownLocation = "CENTER",
textColor = { 1, 1, 1, 1 },
colorTextByTime = false,
colorTextByTime_low = 2,
colorTextByTime_high = 5,
colorTextByDebuff = false,
textSize = 14,
textAlpha = 1,
-- Animations and Effects
showCountdownSwipe = true,
indicatorGlow = false,
glowRemainingSecs = 3,
}
end
return defaults
end