-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathmain.lua
More file actions
36 lines (32 loc) · 740 Bytes
/
main.lua
File metadata and controls
36 lines (32 loc) · 740 Bytes
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
if SMODS.Atlas then
SMODS.Atlas({
key = "modicon",
path = "modicon.png",
px = 32,
py = 32
})
end
DTM = SMODS.current_mod
DTM.save_config = function(self)
SMODS.save_mod_config(self)
end
DTM.config_tab = function()
return {
n = G.UIT.ROOT,
config = {
r = 0.1, minw = 5, align = "cm", padding = 0.2, colour = G.C.BLACK
},
nodes = {
create_toggle({
id = "vanilla_joker_sell",
label = "Vanilla Joker sell target",
info = {"Use the mobile Joker sell target. Beware of accidental sells!"},
ref_table = DTM.config,
ref_value = "vanilla_joker_sell",
callback = function()
DTM:save_config()
end,
})
}
}
end