2017-03-31 12:09:16 -07:00
|
|
|
dofile(minetest.get_modpath("adapter") .. "/recipes.lua")
|
|
|
|
|
|
|
|
for i,n in ipairs(recipelist) do
|
|
|
|
|
|
|
|
|
2017-06-16 05:07:36 -07:00
|
|
|
if(minetest.get_modpath(n.mod)) then
|
|
|
|
local rec = { type = n.type,
|
|
|
|
output = n.output,
|
|
|
|
recipe = n.recipe
|
|
|
|
}
|
|
|
|
|
|
|
|
-- Register the Recipes
|
|
|
|
minetest.register_craft(rec)
|
|
|
|
|
|
|
|
end -- if(minetest.get_modpath(n.mod)
|
|
|
|
end -- for i,n in ipairs(recipelist)
|