init.lua 456 B

12345678910111213141516
  1. if not minetest.global_exists("grinder") then grinder = {} end
  2. grinder.modpath = minetest.get_modpath("grinder")
  3. if minetest.get_modpath("reload") and reload then
  4. reload.register_file("grinder:core", grinder.modpath .. "/functions.lua")
  5. else
  6. dofile(grinder.modpath .. "/functions.lua")
  7. end
  8. dofile(grinder.modpath .. "/nodes.lua")
  9. dofile(grinder.modpath .. "/crafts.lua")
  10. dofile(grinder.modpath .. "/crusher.lua")
  11. dofile(grinder.modpath .. "/v2.lua")