forked from narc0tiq/YARM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.lua
71 lines (69 loc) · 1.76 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
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
data:extend({
-- Global settings
{
type = "int-setting",
name = "YARM-ticks-between-checks",
setting_type = "runtime-global",
order = "a",
default_value = 600,
minimum_value = 20,
maximum_value = 1200
},
{
type = "int-setting",
name = "YARM-entities-per-tick",
setting_type = "runtime-global",
order = "a",
default_value = 100,
minimum_value = 10,
maximum_value = 1000,
},
{
type = "bool-setting",
name = "YARM-map-markers",
setting_type = "runtime-global",
order = "b",
default_value = true,
},
{
type = "int-setting",
name = "YARM-overlay-step",
setting_type = "runtime-global",
order = "c",
default_value = 1,
minimum_value = 1,
maximum_value = 5
},
{
type = "bool-setting",
name = "YARM-site-prefix-with-surface",
setting_type = "runtime-global",
order = "d",
default_value = false
},
{
type = "bool-setting",
name = "YARM-debug-profiling",
setting_type = "runtime-global",
order = "zz[debug]",
default_value = false,
},
-- Per user settings
{
type = "int-setting",
name = "YARM-warn-percent",
setting_type = "runtime-per-user",
order = "a",
default_value = 10,
minimum_value = 0,
maximum_value = 100
},
{
type = "string-setting",
name = "YARM-order-by",
setting_type = "runtime-per-user",
order = "b",
default_value = "percent-remaining",
allowed_values = { "alphabetical", "percent-remaining", "ore-type", "ore-count", "etd" }
},
})