-
Notifications
You must be signed in to change notification settings - Fork 9
/
settings.lua
46 lines (46 loc) · 1.17 KB
/
settings.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
local prefix = "module_inserter_"
data:extend({
{
type = "int-setting",
name = prefix .. "proxies_per_tick",
setting_type = "runtime-global",
default_value = 30,
minimum_value = 1,
order = "a"
},
{
type = "bool-setting",
name = prefix .. "close_after_load",
setting_type = "runtime-per-user",
default_value = true,
order = "a"
},
{
type = "bool-setting",
name = prefix .. "overwrite",
setting_type = "runtime-per-user",
default_value = true,
order = "b"
},
{
type = "bool-setting",
name = prefix .. "fill_all",
setting_type = "runtime-per-user",
default_value = true,
order = "c"
},
{
type = "bool-setting",
name = prefix .. "hide_button",
setting_type = "runtime-per-user",
default_value = false,
order = "d"
},
{
type = "string-setting",
name = prefix .. "button_style",
setting_type = "runtime-per-user",
default_value = "mod_gui_button",
allowed_values = {"mod_gui_button", "slot_button"}
}
})