commit | author | age
|
d55ecc
|
1 |
|
N |
2 |
local S = technic.getter |
|
3 |
|
dd65a6
|
4 |
technic.register_recipe_type("alloy", { |
Z |
5 |
description = S("Alloy cooking"), |
|
6 |
input_size = 2, |
|
7 |
}) |
d55ecc
|
8 |
|
N |
9 |
function technic.register_alloy_recipe(data) |
|
10 |
data.time = data.time or 6 |
|
11 |
technic.register_recipe("alloy", data) |
|
12 |
end |
|
13 |
|
|
14 |
local recipes = { |
|
15 |
{"technic:copper_dust 3", "technic:tin_dust", "technic:bronze_dust 4"}, |
|
16 |
{"default:copper_ingot 3", "moreores:tin_ingot", "default:bronze_ingot 4"}, |
|
17 |
{"technic:wrought_iron_dust", "technic:coal_dust", "technic:carbon_steel_dust"}, |
|
18 |
{"technic:wrought_iron_ingot", "technic:coal_dust", "technic:carbon_steel_ingot"}, |
|
19 |
{"technic:carbon_steel_dust", "technic:coal_dust", "technic:cast_iron_dust"}, |
|
20 |
{"technic:carbon_steel_ingot", "technic:coal_dust", "technic:cast_iron_ingot"}, |
|
21 |
{"technic:carbon_steel_dust 3", "technic:chromium_dust", "technic:stainless_steel_dust 4"}, |
|
22 |
{"technic:carbon_steel_ingot 3", "technic:chromium_ingot", "technic:stainless_steel_ingot 4"}, |
|
23 |
{"technic:copper_dust 2", "technic:zinc_dust", "technic:brass_dust 3"}, |
ad157d
|
24 |
{"default:copper_ingot 2", "technic:zinc_ingot", "technic:brass_ingot 3"}, |
d55ecc
|
25 |
{"default:sand 2", "technic:coal_dust 2", "technic:silicon_wafer"}, |
N |
26 |
{"technic:silicon_wafer", "technic:gold_dust", "technic:doped_silicon_wafer"}, |
|
27 |
} |
|
28 |
|
|
29 |
for _, data in pairs(recipes) do |
|
30 |
technic.register_alloy_recipe({input = {data[1], data[2]}, output = data[3]}) |
|
31 |
end |