-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsettings.lua
53 lines (49 loc) · 1.12 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
local default_items = "space-science-pack"
local default_bases = "raw-fish"
local default_ignored = ""
--Settings
data:extend{
{
type = "bool-setting",
name = "tiergen-consider-autoplace-setting",
setting_type = "runtime-global",
default_value = true,
order = "global-a[autoplace]"
},
{
type = "bool-setting",
name = "tiergen-consider-technology",
setting_type = "runtime-global",
default_value = true,
order = "global-a[technology-a]"
},
{
type = "bool-setting",
name = "tiergen-reduce-technology",
setting_type = "runtime-global",
default_value = true,
order = "global-a[technology-b]"
},
{
type = "bool-setting",
name = "tiergen-reduce-category",
setting_type = "runtime-global",
default_value = true,
order = "global-b[category]"
},
{
type = "bool-setting",
name = "tiergen-debug-log",
setting_type = "runtime-global",
default_value = false,
order = "global-z",
}
}
local function local_module_add(name)
return module_add(name, "__tier-generator__.modules."..name)
end
--Modules
data:extend{
local_module_add("elem_selector_table"),
local_module_add("tiergen_selection_area")
}