forked from brevven/lead
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlead-matter.lua
61 lines (56 loc) · 1.3 KB
/
lead-matter.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
-- Matter recipes for Krastorio2
if mods["Krastorio2"] then
local matter = require("__Krastorio2__/lib/public/data-stages/matter-util")
data:extend(
{
{
type = "technology",
name = "lead-matter-processing",
icons =
{
{
icon = "__Krastorio2__/graphics/technologies/matter-stone.png",
icon_size = 256,
},
{
icon = "__bzlead__/graphics/icons/lead-ore.png",
icon_size = 64, icon_mipmaps = 3,
scale = 1.25,
}
},
prerequisites = {"kr-matter-processing"},
unit =
{
count = 350,
ingredients =
{
{"production-science-pack", 1},
{"utility-science-pack", 1},
{"matter-tech-card", 1}
},
time = 45
}
},
})
local lead_ore_matter =
{
item_name = "lead-ore",
minimum_conversion_quantity = 10,
matter_value = 5,
energy_required = 1,
need_stabilizer = false,
unlocked_by_technology = "lead-matter-processing"
}
matter.createMatterRecipe(lead_ore_matter)
local lead_plate_matter =
{
item_name = "lead-plate",
minimum_conversion_quantity = 10,
matter_value = 7.5,
energy_required = 2,
only_deconversion = true,
need_stabilizer = true,
unlocked_by_technology = "lead-matter-processing"
}
matter.createMatterRecipe(lead_plate_matter)
end