2014-07-03 15:57:39 +02:00
|
|
|
|
|
|
|
local S = technic.getter
|
|
|
|
|
2014-07-15 19:29:36 +02:00
|
|
|
technic.register_recipe_type("alloy", {
|
2014-08-01 18:50:40 +02:00
|
|
|
description = S("Alloying"),
|
2014-07-15 19:29:36 +02:00
|
|
|
input_size = 2,
|
|
|
|
})
|
2014-07-03 15:57:39 +02:00
|
|
|
|
|
|
|
function technic.register_alloy_recipe(data)
|
|
|
|
data.time = data.time or 6
|
|
|
|
technic.register_recipe("alloy", data)
|
|
|
|
end
|
|
|
|
|
2023-12-27 03:48:43 +01:00
|
|
|
for _, data in pairs(alloy_recipes) do
|
2014-08-01 18:40:35 +02:00
|
|
|
technic.register_alloy_recipe({input = {data[1], data[2]}, output = data[3], time = data[4]})
|
2014-07-03 15:57:39 +02:00
|
|
|
end
|