-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcustomui.lua
More file actions
110 lines (109 loc) · 4.25 KB
/
customui.lua
File metadata and controls
110 lines (109 loc) · 4.25 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
-- CREDITS PAGE, code blatantly stolen from balatro goes kino
SMODS.current_mod.extra_tabs = function()
local scale = 0.6
return {
label = localize("hodge_credits_header"),
tab_definition_function = function()
return {
n = G.UIT.ROOT,
config = {
align = "cm",
padding = 0.05,
colour = G.C.CLEAR
},
nodes = {
{
n = G.UIT.R,
config = {
padding = 0,
align = "cl"
},
nodes = {
{
n = G.UIT.T,
config = {
text = localize("hodge_credits_developer"),
shadow = true,
scale = scale * 0.8,
colour = G.C.UI.TEXT_LIGHT
}
},
{
n = G.UIT.T,
config = {
text = "PokéRen",
shadow = true,
scale = scale * 0.8,
colour = G.C.BLUE
}
}
}
},
{
n = G.UIT.R,
config = {
padding = 0,
align = "cl",
},
nodes = {
{
n = G.UIT.T,
config = {
text = localize("hodge_credits_artists"),
shadow = true,
scale = scale * 0.8,
colour = G.C.UI.TEXT_LIGHT
}
},
{
n = G.UIT.T,
config = {
text = "PokéRen, Jorse/Radspeon, Pumpkin man, edward robinson",
shadow = true,
scale = scale * 0.8,
colour = G.C.BLUE
}
}
}
},
{
n = G.UIT.R,
config = {
padding = 0,
align = "cl",
},
nodes = {
{
n = G.UIT.T,
config = {
text = localize("hodge_credits_thanks"),
shadow = true,
scale = scale * 0.8,
colour = G.C.UI.BLUE
}
},
{
n = G.UIT.T,
config = {
text = "IcyEthics, Balatro Modding Chat, and ",
shadow = true,
scale = scale * 0.8,
colour = G.C.BLUE
}
},
{
n = G.UIT.T,
config = {
text = "You!",
shadow = true,
scale = scale * 0.8,
colour = G.C.DARK_EDITION
}
}
}
},
}
}
end
}
end