17 lines
374 B
Lua
17 lines
374 B
Lua
|
|
local S = technic.getter
|
|
|
|
technic.register_recipe_type("alloy", {
|
|
description = S("Alloying"),
|
|
input_size = 2,
|
|
})
|
|
|
|
function technic.register_alloy_recipe(data)
|
|
data.time = data.time or 6
|
|
technic.register_recipe("alloy", data)
|
|
end
|
|
|
|
for _, data in pairs(alloy_recipes) do
|
|
technic.register_alloy_recipe({input = {data[1], data[2]}, output = data[3], time = data[4]})
|
|
end
|