forked from nicholasgower/pelagos
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdata-updates.lua
More file actions
54 lines (52 loc) · 1.46 KB
/
Copy pathdata-updates.lua
File metadata and controls
54 lines (52 loc) · 1.46 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
-- ironclad compatibility
if mods["aai-vehicles-ironclad"] and not mods["ironclad-gunboat-and-mortar-turret-fork"] then
local clad = data.raw["technology"]["ironclad"]
clad.prerequisites = { "pelagos-science-pack" }
clad.unit = {
count = 2000,
ingredients = {
{ "automation-science-pack", 1 },
{ "logistic-science-pack", 1 },
{ "chemical-science-pack", 1 },
{ "space-science-pack", 1 },
{ "utility-science-pack", 1 },
{ "military-science-pack", 1 },
{ "pelagos-science-pack", 1 },
},
time = 60,
}
end
-- ironclad fork compatibility
if mods["ironclad-gunboat-and-mortar-turret-fork"] then
local gun_clad = data.raw["technology"]["ironclad-gunboat"]
gun_clad.prerequisites = { "pelagos-science-pack" }
gun_clad.unit = {
count = 2000,
ingredients = {
{ "automation-science-pack", 1 },
{ "logistic-science-pack", 1 },
{ "chemical-science-pack", 1 },
{ "space-science-pack", 1 },
{ "utility-science-pack", 1 },
{ "military-science-pack", 1 },
{ "pelagos-science-pack", 1 },
},
time = 60,
}
local clad = data.raw["technology"]["ironclad"]
clad.unit = {
count = 1000,
ingredients = {
{ "automation-science-pack", 1 },
{ "logistic-science-pack", 1 },
{ "chemical-science-pack", 1 },
{ "space-science-pack", 1 },
{ "utility-science-pack", 1 },
{ "military-science-pack", 1 },
{ "pelagos-science-pack", 1 },
},
time = 60,
}
end
require("prototypes.recipes.barreling")
require("aps-lignumis-updates")