forked from brevven/zirconium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tech-updates.lua
45 lines (38 loc) · 1.65 KB
/
tech-updates.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
local util = require("__bzzirconium__.data-util");
util.add_prerequisite("advanced-material-processing-2", "zirconia-processing")
util.add_prerequisite("low-density-structure", "zirconia-processing")
util.add_prerequisite("nuclear-power", "zirconia-processing")
util.add_prerequisite("explosives", "zirconia-processing")
-- Nixie tubes
util.add_prerequisite("cathodes", "zirconia-processing")
util.add_prerequisite("SNTD-nixie-tubes-1", "zirconia-processing")
if util.me.use_cermet() then
-- production science techs behind cermet
util.add_prerequisite("effect-transmission", "cermet")
if not util.fe_plus("Machines") then
util.add_prerequisite("automation-3", "cermet")
else
util.add_prerequisite("mechanical-engineer", "cermet")
util.add_prerequisite("advanced-oil-processing-3", "cermet")
end
util.add_prerequisite("productivity-module-3", "cermet")
util.add_prerequisite("speed-module-3", "cermet")
util.add_prerequisite("effectivity-module-3", "cermet")
-- utility science techs behind cermet
util.add_prerequisite("rocket-control-unit", "cermet")
-- Bob's
util.add_prerequisite("chemical-plant-3", "cermet")
util.add_prerequisite("oil-processing-3", "cermet")
util.add_prerequisite("bob-drills-4", "cermet")
util.add_prerequisite("bob-area-drills-4", "cermet")
if mods["space-exploration"] then
util.set_tech_recipe("cermet",
{
{"automation-science-pack", 1},
{"logistic-science-pack", 1},
{"chemical-science-pack", 1},
})
util.add_prerequisite("cermet", "advanced-materials-processing-2")
util.remove_prerequisite("cermet", "production-science-pack")
end
end