Minetest Game - The default game for the Minetest engine https://github.com/minetest/minetest_game.git
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
703B

  1. unused_args = false
  2. allow_defined_top = true
  3. read_globals = {
  4. "DIR_DELIM",
  5. "minetest",
  6. "dump",
  7. "vector",
  8. "VoxelManip", "VoxelArea",
  9. "PseudoRandom", "PcgRandom",
  10. "ItemStack",
  11. "Settings",
  12. "unpack",
  13. -- Silence errors about custom table methods.
  14. table = { fields = { "copy", "indexof" } },
  15. -- Silence warnings about accessing undefined fields of global 'math'
  16. math = { fields = { "sign" } }
  17. }
  18. -- Overwrites minetest.handle_node_drops
  19. files["mods/creative/init.lua"].globals = { "minetest" }
  20. -- Overwrites minetest.calculate_knockback
  21. files["mods/player_api/api.lua"].globals = { "minetest" }
  22. -- Don't report on legacy definitions of globals.
  23. files["mods/default/legacy.lua"].global = false