-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathdata-final-fixes.lua
More file actions
66 lines (54 loc) · 3.14 KB
/
Copy pathdata-final-fixes.lua
File metadata and controls
66 lines (54 loc) · 3.14 KB
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
if data.raw["lab"]["neural_computer"] then
data.raw["lab"]["neural_computer"].inputs =
{
"datacell-empty",
"datacell-raw-data",
"datacell-ai-model-data",
"datacell-solved-equation"
}
end
-- fix for potential other mods adding ingredients to all techs
local function add_tech_unit(tech, count, time, ingredients)
if data.raw["technology"][tech] and count and time and ingredients then
data.raw["technology"][tech].unit =
{
count = count,
ingredients = ingredients,
time = time,
}
end
end
add_tech_unit("moshine-tech-data-extractor", 40, 60, {{"datacell-empty", 1}} )
add_tech_unit("moshine-tech-3d-data-storage", 200, 60, {{"datacell-raw-data", 1}} )
add_tech_unit("moshine-tech-data-processor", 1000, 10, {{"datacell-raw-data", 1}} )
add_tech_unit("moshine-tech-ai-trainer", 50, 80, {{"datacell-raw-data", 1}, {"datacell-ai-model-data", 1}} )
add_tech_unit("moshine-tech-ai-tier-2", 10, 2*500, {{"datacell-raw-data", 1}, {"datacell-ai-model-data", 1}} )
add_tech_unit("big-solar-energy", 13, 3*500, {{"datacell-raw-data", 1}, {"datacell-ai-model-data", 1}} )
add_tech_unit("moshine-tech-ai-tier-3", 15, 16*500, {{"datacell-raw-data", 1}, {"datacell-ai-model-data", 1}} )
add_tech_unit("moshine-tech-ai-tier-4", 20, 54*500, {{"datacell-raw-data", 1}, {"datacell-ai-model-data", 1}} )
add_tech_unit("snouz_better_substation_tech", 40, 27*500, {{"datacell-raw-data", 1}, {"datacell-ai-model-data", 1}} )
add_tech_unit("moshine-tech-ai-tier-5", 25, 128*500, {{"datacell-raw-data", 1}, {"datacell-ai-model-data", 1}} )
add_tech_unit("moshine-tech-processing-grid", 10, 145*500, {{"datacell-raw-data", 10},{"datacell-ai-model-data", 1}} )
add_tech_unit("moshine-tech-ai-tier-6", 30, 250*500, {{"datacell-raw-data", 1}, {"datacell-ai-model-data", 1}} )
add_tech_unit("moshine-tech-ai-tier-7", 35, 432*500, {{"datacell-raw-data", 1}, {"datacell-ai-model-data", 1}} )
add_tech_unit("electric-energy-big-accumulators", 36, 437*500,{{"datacell-raw-data", 1}, {"datacell-ai-model-data", 1}} )
add_tech_unit("moshine-tech-ai-tier-8", 40, 686*500, {{"datacell-raw-data", 1}, {"datacell-ai-model-data", 1}} )
add_tech_unit("moshine-tech-ai-tier-9", 45, 1024*500, {{"datacell-raw-data", 1}, {"datacell-ai-model-data", 1}} )
add_tech_unit("moshine-tech-ai-tier-10", 50, 1458*500, {{"datacell-raw-data", 1}, {"datacell-ai-model-data", 1}} )
add_tech_unit("long-stack-inserter", 1000, 2.45*500, {{"datacell-raw-data", 1}, {"datacell-solved-equation", 1}} )
if data.raw["technology"]["moshine-tech-quantum-processor-productivity"] then
data.raw["technology"]["moshine-tech-quantum-processor-productivity"].unit =
{
count_formula = "1.4^L*700",
ingredients =
{
{"datacell-raw-data", 1},
{"datacell-solved-equation", 1},
},
time = 6000
}
end
-- compat omnimatter_compression
if data.raw["technology"]["omnipressed-moshine-tech-quantum-processor-productivity"] then
data.raw["technology"]["omnipressed-moshine-tech-quantum-processor-productivity"] = nil
end