init.lua 312 B

12345678910111213141516171819
  1. mobs = mobs or {}
  2. mobs.modpath = minetest.get_modpath("mobs")
  3. minetest.register_privilege("mob_respect", {
  4. description = "Mobs will respect player.",
  5. give_to_singleplayer = false,
  6. })
  7. dofile(mobs.modpath .. "/api.lua")
  8. dofile(mobs.modpath .. "/crafts.lua")
  9. dofile(mobs.modpath .. "/spawner.lua")