Browse Source

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

master
sys4 1 month ago
parent
commit
fc5dc803a3
1 changed files with 15 additions and 0 deletions
  1. +15
    -0
      nalc_technic/init.lua

+ 15
- 0
nalc_technic/init.lua View File

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

Loading…
Cancel
Save