-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdata.lua
59 lines (56 loc) · 2.1 KB
/
data.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
require("__SpaceModFeorasFork__/prototypes/technology")
require("__SpaceModFeorasFork__/prototypes/style")
require("__SpaceModFeorasFork__/prototypes/item")
require("__SpaceModFeorasFork__/prototypes/recipe")
require("__SpaceModFeorasFork__/prototypes/entities")
if settings.startup["SpaceX-no-ir"].value == false then
if mods["IndustrialRevolution"] or mods["IndustrialRevolution3"] then
for _, tech in pairs({ "space-ai-robots", "space-fluid-tanks", "exploration-satellite" }) do
data.raw.technology[tech].unit.ingredients = {
{ "automation-science-pack", 1 },
{ "logistic-science-pack", 1 },
{ "chemical-science-pack", 1 },
{ "production-science-pack", 1 },
{ "utility-science-pack", 1 },
}
end
if settings.startup["SpaceX-classic-mode"].value == true or settings.startup["SpaceX-ftl-ramp-up"].value == true then
data.raw.technology["ftl-theory-A"].unit.ingredients = {
{ "automation-science-pack", 1 },
}
data.raw.technology["ftl-theory-B"].unit.ingredients = {
{ "automation-science-pack", 1 },
{ "logistic-science-pack", 1 },
}
data.raw.technology["ftl-theory-C"].unit.ingredients = {
{ "automation-science-pack", 1 },
{ "logistic-science-pack", 1 },
{ "chemical-science-pack", 1 },
}
data.raw.technology["ftl-theory-D1"].unit.ingredients = {
{ "automation-science-pack", 1 },
{ "logistic-science-pack", 1 },
{ "chemical-science-pack", 1 },
{ "production-science-pack", 1 },
}
data.raw.technology["ftl-theory-D2"].unit.ingredients = {
{ "automation-science-pack", 1 },
{ "logistic-science-pack", 1 },
{ "chemical-science-pack", 1 },
{ "utility-science-pack", 1 },
}
data.raw.technology["ftl-propulsion"].unit.ingredients = {
{ "automation-science-pack", 1 },
{ "logistic-science-pack", 1 },
{ "chemical-science-pack", 1 },
{ "production-science-pack", 1 },
{ "utility-science-pack", 1 },
{ "space-science-pack", 1 },
}
end
end
if mods["IndustrialRevolution3"] then
require("__SpaceModFeorasFork__/prototypes/recipe-ir3")
require("__SpaceModFeorasFork__/prototypes/technology-ir3")
end
end