aquilo-start/data.lua

changeset 19
adbc5c74f279
equal deleted inserted replaced
18:6088a99984dc 19:adbc5c74f279
1 require("aqs_util")
2
3 local function item_productivity_icon(name)
4 local icons = util.technology_icon_constant_recipe_productivity(name)
5 icons[1].icon_size = 64
6 return icons
7 end
8
9 ---@type data.TechnologyPrototype[]
10 local new_techs = {
11 {
12 type = "technology",
13 name = "lithium-processing-2",
14 prerequisites = {"oil-gathering", "lithium-processing"},
15 research_trigger = {
16 type = "mine-entity",
17 entity = "lithium-brine",
18 },
19 icon = table.deepcopy(data.raw.technology["lithium-processing"].icon),
20 icon_size = data.raw.technology["lithium-processing"].icon_size,
21
22 effects = {unlock_recipe "lithium"}
23 }, {
24 type = "technology",
25 name = "fluorine-processing",
26 prerequisites = {"cryogenic-plant"},
27 research_trigger = {
28 type = "mine-entity",
29 entity = "fluorine-vent"
30 },
31 icon = table.deepcopy(data.raw.fluid["fluorine"].icon),
32 icon_size = data.raw.fluid["fluorine"].icon_size,
33 effects = {unlock_recipe "fluoroketone", unlock_recipe "fluoroketone-cooling"}
34 }, {
35 type = "technology",
36 name = "ice-platform-productivity",
37 effects = {recipe_productivity "ice-platform"},
38 prerequisites = {"fluid-handling"},
39 icons = util.technology_icon_constant_recipe_productivity "__aquilo-start__/graphics/technology/ice-platform-productivity.png",
40 unit = red_science{
41 count = 50,
42 time = 20,
43 },
44 upgrade = true,
45 }, {
46 type = "technology",
47 name = "ice-platform-productivity-2",
48 effects = {recipe_productivity "ice-platform"},
49 prerequisites = {"ice-platform-productivity", "logistic-science-pack"},
50 icons = util.technology_icon_constant_recipe_productivity "__aquilo-start__/graphics/technology/ice-platform-productivity.png",
51 unit = green_science{
52 count = 100,
53 time = 20,
54 },
55 upgrade = true,
56 }, {
57 type = "technology",
58 name = "ice-platform-productivity-3",
59 effects = {recipe_productivity "ice-platform"},
60 prerequisites = {"ice-platform-productivity-2", "chemical-science-pack"},
61 icons = util.technology_icon_constant_recipe_productivity "__aquilo-start__/graphics/technology/ice-platform-productivity.png",
62 unit = blue_science{
63 count = 200,
64 time = 30,
65 },
66 upgrade = true,
67 }, {
68 type = "technology",
69 name = "ice-platform-productivity-4",
70 effects = {recipe_productivity "ice-platform"},
71 prerequisites = {"ice-platform-productivity-3", "cryogenic-science-pack"},
72 icons = util.technology_icon_constant_recipe_productivity "__aquilo-start__/graphics/technology/ice-platform-productivity.png",
73 unit = cryo_science{
74 count_formula = "1.5^L * 100",
75 time = 60,
76 },
77 max_level = 30,
78 upgrade = true,
79 },
80 }
81
82 data:extend(new_techs)

mercurial