init.lua 842 B

123456789101112131415161718192021222324
  1. tf_recipes = {
  2. mod = {author = "Andreas Demant"},
  3. modpath = minetest.get_modpath(minetest.get_current_modname()),
  4. modname = minetest.get_current_modname(),
  5. }
  6. minetest.log("action", "[MOD]"..tf_recipes.modname.." -- start loading ")
  7. math.randomseed(os.time())
  8. dofile(tf_recipes.modpath .. "/config.lua")
  9. dofile(tf_recipes.modpath .. "/nodes.lua")
  10. dofile(tf_recipes.modpath .. "/craftitems.lua")
  11. dofile(tf_recipes.modpath .. "/juice_recipes.lua")
  12. dofile(tf_recipes.modpath .. "/coffee_recipes.lua")
  13. dofile(tf_recipes.modpath .. "/grinder_recipes.lua")
  14. dofile(tf_recipes.modpath .. "/fermenter_recipes.lua")
  15. dofile(tf_recipes.modpath .. "/seperate_recipes.lua")
  16. dofile(tf_recipes.modpath .. "/compactor_recipes.lua")
  17. dofile(tf_recipes.modpath .. "/alloy_recipes.lua")
  18. minetest.log("action", "[MOD]"..tf_recipes.modname.." -- end loading ")