small fixes
This commit is contained in:
parent
1b0d474c1c
commit
077df8372e
20
.luacheckrc
20
.luacheckrc
|
@ -1,11 +1,23 @@
|
||||||
allow_defined_top = true
|
allow_defined_top = true
|
||||||
|
|
||||||
read_globals = {
|
read_globals = {
|
||||||
|
"dump",
|
||||||
"minetest",
|
"minetest",
|
||||||
"dump", "vector",
|
"vector",
|
||||||
"VoxelManip", "VoxelArea",
|
"VoxelManip",
|
||||||
table = { fields = { "copy" } },
|
"VoxelArea",
|
||||||
|
table = { fields = {
|
||||||
|
"copy"
|
||||||
|
} },
|
||||||
"lightning",
|
"lightning",
|
||||||
}
|
}
|
||||||
|
|
||||||
ignore = {"211", "212", "213", "631"}
|
ignore = {
|
||||||
|
"211",
|
||||||
|
"212",
|
||||||
|
"213",
|
||||||
|
"611",
|
||||||
|
"612",
|
||||||
|
"621",
|
||||||
|
"631"
|
||||||
|
}
|
||||||
|
|
|
@ -28,9 +28,9 @@ minetest.register_chatcommand("setweather", {
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Set weather
|
-- Set wind
|
||||||
minetest.register_chatcommand("setwind", {
|
minetest.register_chatcommand("setwind", {
|
||||||
params = "<weather>",
|
params = "<wind>",
|
||||||
description = "Set windspeed to the given x,z direction", -- full description
|
description = "Set windspeed to the given x,z direction", -- full description
|
||||||
privs = {weather = true},
|
privs = {weather = true},
|
||||||
func = function(name, param)
|
func = function(name, param)
|
||||||
|
|
Loading…
Reference in New Issue