-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathGridDefaultsRetail.lua
More file actions
41 lines (30 loc) · 1.2 KB
/
GridDefaultsRetail.lua
File metadata and controls
41 lines (30 loc) · 1.2 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
-- Autogenerated: 2025/12/30 01:11:54
local function MakeDatabaseDefaults()
-- profile
local db = Grid2.db.profile
local s, i, m = db.statuses, db.indicators, db.statusMap
db.__template = 'Empty'
i["background"] = { type="background" }
i["tooltip"] = { type="tooltip", showDefault=true }
i["alpha"] = { type="alpha" }
m["alpha"] = { range=99 }
i["border"] = { type="border", color1={a=0,r=0,g=0,b=0} }
m["border"] = { target=50 }
i["health-bar"] = { type="multibar", location={x=0,y=0,relPoint="CENTER",point="CENTER"}, level=3, textureColor={a=1} }
m["health-bar"] = { ["health-current"]=1 }
i["health-bar-color"] = { type="multibar-color" }
m["health-bar-color"] = { classcolor=50 }
i["text-down"] = { type="text", location={y=4,relPoint="BOTTOM",point="BOTTOM",x=0}, level=6, textlength=6, fontSize=10 }
m["text-down"] = { name=99 }
i["text-down-color"] = { type="text-color" }
m["text-down-color"] = { classcolor=99 }
Grid2:DbUpdateStatusesDefaults()
end
Grid2:DbRegisterProfile( {
name = 'Empty',
desc = 'Minimalistic profile. For advanced users that want to setup a custom profile from scratch.',
func = MakeDatabaseDefaults,
image = [[Interface\Addons\Grid2\media\icon]],
imageWidth = 64,
imageHeight = 64,
}, 0)