Ajoute recettes grind oat,rye,barley,rice vers farine
This commit is contained in:
parent
63206e7b19
commit
fc5dc803a3
@ -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.")
|
||||||
|
Loading…
Reference in New Issue
Block a user