-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.lua
58 lines (47 loc) · 1.67 KB
/
config.lua
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
------------------------------------------------------------------------------------
-- Module to contain config default
------------------------------------------------------------------------------------
local addon_name, st = ...
local LSM = LibStub("LibSharedMedia-3.0")
local ST = LibStub("AceAddon-3.0"):GetAddon(addon_name)
-- local print = st.utils.print_msg
local LWIN = LibStub("LibWindow-1.1")
------------------------------------------------------------------------------------
-- Default settings for the addon.
ST.defaults = {
profile = {
-- Top level
welcome_message = true,
enabled = true, -- top level control
-- Frame strata/draw level
frame_strata = "MEDIUM",
draw_level = 10,
-- Bar visual behaviour
bar_full_delay = 0.05,
-- Latency scale factors.
latency_linear_offset = 0.0,
latency_scale_factor = 1.0,
-- GCD marker offsets
gcd_marker_offset_mode = "None",
gcd_marker_offset_scale_factor = 1.0,
gcd_marker_fixed_offset = 50,
-- Deadzone
deadzone_scale_factor = 1.1,
-- Class-specific defaults
['**'] = ST.class_defaults,
DEATHKNIGHT = ST.DEATHKNIGHT.defaults,
DRUID = ST.DRUID.defaults,
HUNTER = ST.HUNTER.defaults,
MAGE = ST.MAGE.defaults,
PALADIN = ST.PALADIN.defaults,
PRIEST = ST.PRIEST.defaults,
ROGUE = ST.ROGUE.defaults,
SHAMAN = ST.SHAMAN.defaults,
WARLOCK = ST.WARLOCK.defaults,
WARRIOR = ST.WARRIOR.defaults,
},
}
--=========================================================================================
-- End, if debug verify module was read.
--=========================================================================================
if st.debug then print('-- Parsed config.lua module correctly') end