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.")