-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfigui.lua
More file actions
59 lines (58 loc) · 2.94 KB
/
Copy pathconfigui.lua
File metadata and controls
59 lines (58 loc) · 2.94 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
G.FUNCS.specf_artcycle = function(args)
local refval = args.cycle_config.ref_value
SPECF.config[refval].current_option=args.cycle_config.current_option
SPECF.config[refval].option_value = args.to_val
end
SMODS.current_mod.config_tab = function()
return {
n = G.UIT.ROOT, config = {r = 0.1, minw = 8, minh = 6, align = "tl", padding = 0.2, colour = G.C.BLACK},
nodes = {
{n = G.UIT.C, config = {minw=0.5, minh=1, align = "tl", colour = G.C.CLEAR, padding = 0.15},
nodes = {
create_option_cycle {
label = "Spectrum Score Status",
options = {'Standard', 'Situational', 'Special'},
current_option = SPECF.config.spectrum_status.current_option,
ref_table = SPECF.config,
ref_value = "spectrum_status",
opt_callback = 'specf_artcycle',
w = 5.5
},
create_toggle({
label = "Specflush hand",
ref_table = SPECF.config,
ref_value = 'specflush',
}),
create_toggle({
label = "Smear modded suits",
ref_table = SPECF.config,
ref_value = 'smear_modded_suits',
}),
create_toggle({
label = "Dev messages",
ref_table = SPECF.config,
ref_value = 'dev_messages',
}),
create_option_cycle {
label = "Joker Design",
options = {'CupertinoEffect (Default)', 'wingedcatgirl (Doodles)', 'Aure (Six Suits)', 'Peas (Bunco)'},
current_option = SPECF.config.joker_design.current_option,
ref_table = SPECF.config,
ref_value = "joker_design",
opt_callback = 'specf_artcycle',
w = 5.5
},
create_option_cycle {
label = "Planet Design",
options = {'CupertinoEffect (Default)', 'wingedcatgirl (Doodles)', 'Shinku+Reiji (Six Suits)', 'Firch (Bunco)'},
current_option = SPECF.config.planet_design.current_option,
ref_table = SPECF.config,
ref_value = "planet_design",
opt_callback = 'specf_artcycle',
w = 5.5
},
},
},
}
}
end