convert mod from sound api to xcompat

This commit is contained in:
wsor4035
2024-02-25 00:10:30 -05:00
parent fe6ea96fa0
commit ed57962bbd
6 changed files with 50 additions and 38 deletions

View File

@ -1,5 +1,24 @@
unused_args = false
allow_defined_top = true
exclude_files = {".luacheckrc"}
globals = {
"sound_api", "minetest", "mcl_sounds", "default", "ks_sounds",
"nodes_nature", "fl_stone", "fl_topsoil", "fl_trees",
"hades_sounds", "rp_sounds",
"minetest", "sound_api", "xcompat", "default",
"mcl_sounds", "ks_sounds", "nodes_nature", "fl_stone",
"fl_topsoil", "fl_trees", "hades_sounds", "rp_sounds",
}
read_globals = {
string = {fields = {"split"}},
table = {fields = {"copy", "getn"}},
--luac
"math", "table",
-- Builtin
"vector", "ItemStack", "dump", "DIR_DELIM", "VoxelArea", "Settings", "PcgRandom", "VoxelManip", "PseudoRandom",
--mod produced
"fl_dyes", "fl_hand", "fl_tools", "mobkit", "fl_tnt", "i3",
}