-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathtitanium-matter.lua
62 lines (57 loc) · 1.4 KB
/
titanium-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
62
-- Matter recipes for Krastorio2
if mods["Krastorio2"] then
local util = require("__bztitanium__.data-util");
local matter = require("__Krastorio2__/lib/public/data-stages/matter-util")
data:extend(
{
{
type = "technology",
name = "titanium-matter-processing",
icons =
{
{
icon = util.k2assets().."/technologies/matter-stone.png",
icon_size = 256,
},
{
icon = "__bztitanium__/graphics/icons/titanium-ore.png",
icon_size = 64, icon_mipmaps = 3,
scale = 1.5,
}
},
prerequisites = {"kr-matter-processing"},
unit =
{
count = 350,
ingredients =
{
{"production-science-pack", 1},
{"utility-science-pack", 1},
{"matter-tech-card", 1}
},
time = 45
}
},
})
local titanium_ore_matter =
{
item_name = "titanium-ore",
minimum_conversion_quantity = 10,
matter_value = 8,
energy_required = 1,
need_stabilizer = false,
unlocked_by_technology = "titanium-matter-processing"
}
matter.createMatterRecipe(titanium_ore_matter)
local titanium_plate_matter =
{
item_name = util.me.titanium_plate,
minimum_conversion_quantity = 10,
matter_value = 14,
energy_required = 2,
only_deconversion = true,
need_stabilizer = true,
unlocked_by_technology = "titanium-matter-processing"
}
matter.createMatterRecipe(titanium_plate_matter)
end