mirror of
https://github.com/minetest-mods/throwing.git
synced 2025-01-08 01:00:28 +01:00
31f0cf5f86
This displays `bow level x` instead of `tool level x` when toolranks is enabled, and display `Arrows thrown` instead of `Node dug`. * Add .luacheckrc and fixes warnings from luacheck
27 lines
345 B
Lua
27 lines
345 B
Lua
std = "lua51+minetest"
|
|
unused_args = false
|
|
allow_defined_top = true
|
|
max_line_length = 999
|
|
|
|
stds.minetest = {
|
|
read_globals = {
|
|
"minetest",
|
|
"VoxelManip",
|
|
"VoxelArea",
|
|
"PseudoRandom",
|
|
"ItemStack",
|
|
"default",
|
|
table = {
|
|
fields = {
|
|
"copy",
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
read_globals = {
|
|
"toolranks",
|
|
"toolranks_extras",
|
|
"wielded_light",
|
|
}
|