mirror of
https://github.com/minetest/minetest_game.git
synced 2024-10-31 23:30:31 +01:00
22 lines
495 B
Lua
22 lines
495 B
Lua
unused_args = false
|
|
allow_defined_top = true
|
|
|
|
read_globals = {
|
|
"DIR_DELIM",
|
|
"minetest", "core",
|
|
"dump",
|
|
"vector",
|
|
"VoxelManip", "VoxelArea",
|
|
"PseudoRandom", "ItemStack",
|
|
"Settings",
|
|
"unpack",
|
|
-- Silence "accessing undefined field copy of global table".
|
|
table = { fields = { "copy" } }
|
|
}
|
|
|
|
-- Overwrites minetest.handle_node_drops
|
|
files["mods/creative/init.lua"].globals = { "minetest" }
|
|
|
|
-- Don't report on legacy definitions of globals.
|
|
files["mods/default/legacy.lua"].global = false
|