-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.lua
68 lines (61 loc) · 1.43 KB
/
config.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
boxing = {};
boxing.tungsten = true and data.raw.item["tungsten-plate"];
--TODO make option
--subgroups to allow boxing for
boxing.itemSubgroups = {
["terrain"] = true,
["raw-resource"] = true,
["raw-material"] = true,
["intermediate-product"] = true,
["bob-ores"] = true,
["bob-resource"] = true,
["bob-resource-chemical"] = true,
["bob-alien-resource"] = true,
["bob-material"] = true,
["bob-material-smelting"] = true,
["bob-material-chemical"] = true,
["bob-material-electrolysis"] = true,
["bob-alloy"] = true,
["bob-electronic-components"] = true,
["bob-boards"] = true,
["bob-electronic-boards"] = true,
["bob-greenhouse-items"] = true,
["bob-intermediates"] = true,
["bob-gears"] = true,
["bob-bearings"] = true,
["bob-gems-ore"] = true,
["bob-gems-raw"] = true,
["bob-gems-cut"] = true,
["bob-gems-polished"] = true,
["bob-robot-parts"] = true,
};
--specific items to allow boxing for
boxing.itemNames = {
["rail"] = true,
};
--TODO make stack sizes option
boxing.types = {
{
name = "wooden",
stack_size = 5,
box_ingredients = {{"wood", 4}},
},
{
name = "steel",
stack_size = 10,
box_ingredients = {{"steel-plate", 2}},
},
}
if (boxing.tungsten) then
table.insert(boxing.types, {
name = "tungsten",
stack_size = 20,
box_ingredients = {{"tungsten-plate", 2}},
});
end
boxing.unlocks = {}
for i,type in pairs(boxing.types) do
boxing.unlocks[type.name] = {};
end
boxing.items = {};
boxing.subgroups = {};