Ajoute recettes grind oat,rye,barley,rice vers farine

This commit is contained in:
Sys Quatre 2020-07-13 15:45:58 +02:00
父節點 63206e7b19
當前提交 fc5dc803a3
共有 1 個檔案被更改,包括 15 行新增0 行删除

查看文件

@ -82,4 +82,19 @@ if minetest.get_modpath("dye") then
})
end
-- Add grinder recipes
if minetest.get_modpath("farming") and farming.mod == "redo" then
local recipes = {
{"farming:seed_barley", "farming:flour 1"},
{"farming:seed_oat", "farming:flour 1"},
{"farming:seed_rye", "farming:flour 1"},
{"farming:rice", "farming:rice_flour 1"}
}
for _, data in pairs(recipes) do
technic.register_grinder_recipe({input = {data[1]}, output = data[2]})
end
end
minetest.log("action", "[nalc_technic] loaded.")