-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.lua
More file actions
54 lines (53 loc) · 1.86 KB
/
settings.lua
File metadata and controls
54 lines (53 loc) · 1.86 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
data:extend({
{
type = "int-setting",
name = "minimalwire-radius",
setting_type = "runtime-global",
default_value = 42,
minimum_value = 1,
maximum_value = 1000,
order = "a",
localised_name = "MST (Minimum Spanning Tree) Generation Radius",
localised_description = "Defines how far (in tiles) around a newly placed pole to search for other poles."
},
{
type = "int-setting",
name = "minimalwire-max-poles",
setting_type = "runtime-global",
default_value = 30,
minimum_value = 1,
maximum_value = 1000,
order = "a2",
localised_name = "Maximum Poles in Radius",
localised_description = "Maximum number of poles to include in a local network rebuild."
},
{
type = "bool-setting",
name = "minimalwire-full-network-mst",
setting_type = "runtime-global",
default_value = false,
order = "b",
localised_name = "Full-Network MST Generation (READ TOOLTIP)",
localised_description = "If true, attempt to create a single MST for the entire network (of connections) instead of just nearby poles. This may be LAGGY, but is useful to convert inefficient networks."
},
{
type = "int-setting",
name = "minimalwire-ops-per-tick",
setting_type = "runtime-global",
default_value = 10,
minimum_value = 1,
maximum_value = 1000,
order = "c",
localised_name = "Operations per Tick",
localised_description = "How many wire operations to process each tick (higher = faster but can cause lag spikes)."
},
{
type = "bool-setting",
name = "minimalwire-debug",
setting_type = "runtime-global",
default_value = false,
order = "z",
localised_name = "Debug Mode",
localised_description = "Enable debug mode (prints debug messages to the console)."
}
})