generated from fgardt/factorio-mod-template
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathsettings.lua
84 lines (81 loc) · 2.03 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
if mods["space-age"] then
data:extend {{
type = "bool-setting",
name = "Factorissimo2-cheap-research",
setting_type = "startup",
default_value = false,
order = "a-c",
}}
end
data:extend {
-- Startup
{
type = "bool-setting",
name = "Factorissimo2-alt-graphics",
setting_type = "startup",
default_value = false,
order = "a-a",
},
{
type = "bool-setting",
name = "Factorissimo2-disable-new-tile-effects",
setting_type = "startup",
default_value = false,
order = "a-b",
},
-- Global
{
type = "bool-setting",
name = "Factorissimo2-free-recursion",
setting_type = "runtime-global",
default_value = false,
order = "a-a",
},
{
type = "bool-setting",
name = "Factorissimo2-hide-recursion",
setting_type = "runtime-global",
default_value = false,
order = "a-b",
},
{
type = "bool-setting",
name = "Factorissimo2-hide-recursion-2",
setting_type = "runtime-global",
default_value = false,
order = "a-b-a",
},
{
type = "bool-setting",
name = "Factorissimo2-better-recursion-2",
setting_type = "runtime-global",
default_value = true,
order = "a-c",
},
{
type = "bool-setting",
name = "Factorissimo2-indestructible-buildings",
setting_type = "runtime-global",
default_value = false,
order = "a-e",
},
-- Per user
{
type = "int-setting",
name = "Factorissimo2-preview-size",
setting_type = "runtime-per-user",
minimum_value = 50,
default_value = 300,
maximum_value = 1000,
order = "a-b",
},
{
type = "double-setting",
name = "Factorissimo2-preview-zoom",
setting_type = "runtime-per-user",
minimum_value = 0.2,
default_value = 1,
maximum_value = 2,
order = "a-c",
},
}