init.lua 524 B

12345678910111213141516171819
  1. batteries = {
  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]"..batteries.modname.." -- start loading ")
  7. dofile(batteries.modpath .. "/config.lua")
  8. dofile(batteries.modpath .. "/mapgen.lua")
  9. dofile(batteries.modpath .. "/craftitems.lua")
  10. dofile(batteries.modpath .. "/craft.lua")
  11. dofile(batteries.modpath .. "/alloy.lua")
  12. minetest.log("action", "[MOD]"..batteries.modname.." -- end loading ")