-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
data-final-fixes.lua
172 lines (162 loc) · 7.25 KB
/
data-final-fixes.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
ao_debug = settings.startup["ao-debug"].value
log("Atomic_Overhaul-Debug = " .. tostring(ao_debug))
require(compatibility .. "other-small-mods")
if mods["bobplates"] then
require(compatibility .. "bobplates")
bobplates = true
if ao_debug == true then
log(debug_text .. "bobplates")
end
end
if mods["Clowns-Nuclear"] then
if mods["Clowns-AngelBob-Nuclear"] then
require(compatibility .. "madclown-angelbob")
if ao_debug == true then
log(debug_text .. "Clowns-AngelBob-Nuclear")
end
else
require(compatibility .. "clowns-vanilla-nuclear")
if ao_debug == true then
log(debug_text .. "Clowns-Nuclear")
end
end
end
if mods["Nuclear Fuel"] then
require(compatibility .. "nuclear-fuel")
if ao_debug == true then
log(debug_text .. "Nuclear Fuel")
end
end
if mods["angelspetrochem"] then
require(compatibility .. "angels-petrochem")
if ao_debug == true then
log(debug_text .. "angelspetrochem")
end
end
if mods["Krastorio2"] then
if mods["space-exploration"] then
require(compatibility .. "k2-se")
k2_se = true
if ao_debug == true then
log(debug_text .. "Krastorio2+Space Exploration")
end
else
require(compatibility .. "krastorio2")
K2 = true
if ao_debug == true then
log(debug_text .. "Krastorio2")
end
end
elseif mods["space-exploration"] then
require(compatibility .. "space-exploration")
se = true
if ao_debug == true then
log(debug_text .. "space-exploration")
end
end
if mods["bzcarbon"] then
require(compatibility .. "bzcarbon")
bzcarbon = true
if ao_debug == true then
log(debug_text .. "bzcarbon")
end
end
if mods["bzlead"] or mods["bzzirconium"] then
require(compatibility .. "bznuclear")
if ao_debug == true then
log(debug_text .. "bzlead and/or bzzirconium")
end
end
-- Addon stage begins here.
if mods["space-exploration"] and settings.startup["se-addon"].value == true then
require("prototypes.addons.space-exploration.group")
require(se_addon_items .. "advanced-MOX-depleted-cell")
require(se_addon_items .. "advanced-MOX-fuel-cell")
require(se_addon_items .. "advanced-fuel-cell")
require(se_addon_items .. "advanced-plutonium-depleted-cell")
require(se_addon_items .. "advanced-plutonium-fuel-cell")
require(se_addon_items .. "advanced-thorium-depleted-cell")
require(se_addon_items .. "advanced-thorium-fuel-cell")
require(se_addon_items .. "advanced-uranium-depleted-cell")
require(se_addon_items .. "advanced-uranium-fuel-cell")
require(se_addon_items .. "beryllium-7")
require(se_addon_items .. "beryllium-depleted-cell")
require(se_addon_items .. "beryllium-fuel-cell")
require(se_addon_items .. "beryllium-fuel-rod")
require(se_addon_items .. "holmium-166")
require(se_addon_items .. "holmium-depleted-cell")
require(se_addon_items .. "holmium-fuel-cell")
require(se_addon_items .. "holmium-fuel-rod")
require(se_addon_items .. "iridium-192")
require(se_addon_items .. "iridium-depleted-cell")
require(se_addon_items .. "iridium-fuel-cell")
require(se_addon_items .. "iridium-fuel-rod")
require(se_addon_items .. "lead-delivery-capsule") --\
require(se_addon_items .. "capsule-items") ---------- >These two are for the capsule, and need to stay together. (DO NOT MOVE)
require(se_addon_items .. "space-reactor")
require(se_addon_recipes .. "advanced-MOX-cell-recipe")
require(se_addon_recipes .. "advanced-MOX-reprocessing-recipe")
require(se_addon_recipes .. "advanced-fuel-cell-recipe")
require(se_addon_recipes .. "advanced-plutonium-cell-recipe")
require(se_addon_recipes .. "advanced-plutonium-reprocessing-recipe")
require(se_addon_recipes .. "advanced-thorium-cell-recipe")
require(se_addon_recipes .. "advanced-thorium-reprocessing-recipe")
require(se_addon_recipes .. "advanced-uranium-cell-recipe")
require(se_addon_recipes .. "advanced-uranium-reprocessing-recipe")
require(se_addon_recipes .. "beryllium-7-recipe")
require(se_addon_recipes .. "beryllium-7-reprocessing-recipe")
require(se_addon_recipes .. "beryllium-7-without-research-data-recipe")
require(se_addon_recipes .. "beryllium-fuel-cell-recipe")
require(se_addon_recipes .. "beryllium-rod-recipe")
require(se_addon_recipes .. "holmium-166-recipe")
require(se_addon_recipes .. "holmium-166-reprocessing-recipe")
require(se_addon_recipes .. "holmium-166-without-research-data-recipe")
require(se_addon_recipes .. "holmium-fuel-cell-recipe")
require(se_addon_recipes .. "holmium-rod-recipe")
require(se_addon_recipes .. "iridium-192-recipe")
require(se_addon_recipes .. "iridium-192-reprocessing-recipe")
require(se_addon_recipes .. "iridium-192-without-research-data-recipe")
require(se_addon_recipes .. "iridium-fuel-cell-recipe")
require(se_addon_recipes .. "iridium-rod-recipe")
require(se_addon_recipes .. "lead-delivery-recipe") -----\
require(se_addon_recipes .. "capsule-recipes") ---------- >These two are for the capsule, and need to stay together. (DO NOT MOVE)
require(se_addon_recipes .. "space-reactor-recipe")
require(se_addon_recipes .. "thorium-module-4") -- Made by SargaPulcsis
require(se_addon_recipes .. "thorium-module-5") -- Made by SargaPulcsis
require(se_addon_recipes .. "thorium-module-6") -- Made by SargaPulcsis
require(se_addon_recipes .. "thorium-module-7") -- Made by SargaPulcsis
require(se_addon_recipes .. "thorium-module-8") -- Made by SargaPulcsis
require(se_addon_recipes .. "thorium-module-9") -- Made by SargaPulcsis
require(se_addon_techs .. "advanced-fuel-cells")
require(se_addon_techs .. "beryllium-7-processing")
require(se_addon_techs .. "beryllium-7-reprocessing")
require(se_addon_techs .. "beryllium-7-without-research-data")
require(se_addon_techs .. "holmium-166-processing")
require(se_addon_techs .. "holmium-166-reprocessing")
require(se_addon_techs .. "holmium-166-without-research-data")
require(se_addon_techs .. "iridium-192-processing")
require(se_addon_techs .. "iridium-192-reprocessing")
require(se_addon_techs .. "iridium-192-without-research-data")
require(se_addon_techs .. "space-reactor")
require(se_addon_techs .. "thorium-module-4") -- Made by SargaPulcsis
require(se_addon_techs .. "thorium-module-5") -- Made by SargaPulcsis
require(se_addon_techs .. "thorium-module-6") -- Made by SargaPulcsis
require(se_addon_techs .. "thorium-module-7") -- Made by SargaPulcsis
require(se_addon_techs .. "thorium-module-8") -- Made by SargaPulcsis
require(se_addon_techs .. "thorium-module-9") -- Made by SargaPulcsis
if ao_debug == true then
log(debug_addon_text .. "space-exploration")
end
end
-- if mods["AbandonedRuins"] and settings.startup["ruins-addon"].value == true then
-- require("__Atomic_Overhaul__/lib/ruins-addon")
-- ruins = true
-- if ao_debug == true then
-- log(debug_text .. "the-ruins-mod")
-- end
-- end
if settings.startup["old-graphite-fuel"].value == false then
if settings.startup["heat-algo-mode"].value ~= "off" then
require(ao_recipes .. "plate-heat-recipe")
end
end