capturetheflag/.luacheckrc
Anthony-De f8cb85be9f
Fix up and re-add kill assists (#782)
* Add kill assists

* Fix bug

* Move to seperate mod

* Fix bugs and improve code some more

Co-authored-by: LoneWolfHT <lonewolf04361@gmail.com>
2021-02-08 16:03:03 -08:00

45 lines
993 B
Lua

unused_args = false
allow_defined_top = true
exclude_files = {
"mods/mtg/default",
"mods/ctf_pvp_engine",
"mods/pvp/shooter",
"mods/other/wield3d",
"mods/other/treasurer",
"mods/other/hudbars",
}
ignore = {"631"}
globals = {
"crafting", "vector", "table", "minetest", "worldedit", "ctf", "ctf_flag",
"ctf_colors", "hudkit", "default", "treasurer", "ChatCmdBuilder", "ctf_map",
"ctf_match", "ctf_stats", "ctf_treasure", "ctf_playertag", "chatplus", "irc",
"armor", "vote", "give_initial_stuff", "hud_score", "physics", "tsm_chests",
"armor", "shooter", "grenades", "ctf_classes", "ctf_bandages", "ctf_respawn_immunity",
"ctf_marker", "kill_assist"
}
read_globals = {
string = {fields = {"split", "trim"}},
table = {fields = {"copy", "getn"}},
"dump", "DIR_DELIM",
"sfinv", "creative",
"VoxelArea", "ItemStack",
"Settings",
"prometheus", "hb",
"awards",
"potential_cowards",
"VoxelArea",
"VoxelManip",
"PseudoRandom",
-- Testing
"describe",
"it",
"assert",
}