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

This commit is contained in:
Sys Quatre 2020-07-13 15:45:58 +02:00
parent 63206e7b19
commit fc5dc803a3
1 changed files with 15 additions and 0 deletions

View File

@ -82,4 +82,19 @@ if minetest.get_modpath("dye") then
}) })
end 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.") minetest.log("action", "[nalc_technic] loaded.")