-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsettings.lua
87 lines (74 loc) · 1.97 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
-- Copyright (c) 2020 Dockmeister
-- Copyright (c) 2023 Branko Majic
-- Provided under MIT license. See LICENSE for details.
data:extend({
-- Map settings
-- ============
{
type = "string-setting",
name = "aar-cluster-mode",
setting_type = "runtime-global",
order = "ab",
default_value = "spawner-only",
allowed_values = {"spawner-only", "spawner-and-worms"}
},
{
type = "int-setting",
name = "aar-cluster-radius",
setting_type = "runtime-global",
order = "ac",
default_value = 32,
minimum_value = 1,
maximum_value = 100,
},
{
type = "string-setting",
name = "aar-damage-radius-overrides",
setting_type = "runtime-global",
order = "ad",
default_value = "",
allow_blank = true,
},
{
type = "int-setting",
name = "aar-arc-radius",
setting_type = "runtime-global",
order = "ae",
default_value = 30,
minimum_value = 1,
maximum_value = 360,
},
{
type = "int-setting",
name = "aar-angle-width",
setting_type = "runtime-global",
order = "af",
default_value = 40,
minimum_value = 1,
maximum_value = 100,
},
-- Per-player settings
-- ===================
{
type = "string-setting",
name = "aar-cluster-mode-player",
setting_type = "runtime-per-user",
order = "aa",
default_value = "use-map-setting",
allowed_values = {"use-map-setting", "spawner-only", "spawner-and-worms"},
},
{
type = "bool-setting",
name = "aar-verbose",
order = "ab",
setting_type = "runtime-per-user",
default_value = false
},
{
type = "bool-setting",
name = "aar-cluster-single-target-fallback",
order = "ab",
setting_type = "runtime-per-user",
default_value = false
},
})