adapter/init.lua

17 lines
364 B
Lua
Raw Permalink Normal View History

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)