2016-06-26 17:12:40 +02:00
|
|
|
unused_args = false
|
|
|
|
allow_defined_top = true
|
|
|
|
|
|
|
|
read_globals = {
|
|
|
|
"DIR_DELIM",
|
|
|
|
"minetest", "core",
|
|
|
|
"dump",
|
2016-11-22 05:45:31 +01:00
|
|
|
"vector",
|
2016-06-26 17:12:40 +02:00
|
|
|
"VoxelManip", "VoxelArea",
|
|
|
|
"PseudoRandom", "ItemStack",
|
2017-03-05 08:50:25 +01:00
|
|
|
-- Silence "accessing undefined field copy of global table".
|
|
|
|
table = { fields = { "copy" } }
|
2016-06-26 17:12:40 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
-- 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
|