mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-12-23 12:05:01 +00:00
finish deprecation
This commit is contained in:
parent
12747f6524
commit
d1c4f9bd19
3 changed files with 16 additions and 16 deletions
|
@ -7,15 +7,15 @@ local Vector3 = wea_c.Vector3
|
||||||
-- ██ ██ ██ ██ ██
|
-- ██ ██ ██ ██ ██
|
||||||
-- ███████ ██████ ██████ ███████
|
-- ███████ ██████ ██████ ███████
|
||||||
worldeditadditions_core.register_command("scol", {
|
worldeditadditions_core.register_command("scol", {
|
||||||
params = "[<axis1>] <length>",
|
params = "None",
|
||||||
description = "Set WorldEdit region position 2 at a set distance along 1 axis.",
|
description = "Deprecated.",
|
||||||
privs = { worldedit = true },
|
privs = { worldedit = true },
|
||||||
require_pos = 1,
|
require_pos = 1,
|
||||||
parse = function(params_text)
|
parse = function(params_text)
|
||||||
-------------------------
|
return params_text
|
||||||
end,
|
end,
|
||||||
func = function(name)
|
func = function(name, paramtext)
|
||||||
return true, "DEPRECATED: please use //srel instead..."
|
return false, "DEPRECATED: please use //srel instead..."
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -7,15 +7,15 @@ local Vector3 = wea_c.Vector3
|
||||||
-- ██ ██ ██ ██ ██ ██ ██
|
-- ██ ██ ██ ██ ██ ██ ██
|
||||||
-- ███████ ██████ ██████ ██████ ███████
|
-- ███████ ██████ ██████ ██████ ███████
|
||||||
worldeditadditions_core.register_command("scube", {
|
worldeditadditions_core.register_command("scube", {
|
||||||
params = "[<axis1> [<axis2> [<axis3>]]] <length>",
|
params = "None",
|
||||||
description = "Set WorldEdit region position 2 at a set distance along 3 axes.",
|
description = "Deprecated.",
|
||||||
privs = { worldedit = true },
|
privs = { worldedit = true },
|
||||||
require_pos = 1,
|
require_pos = 1,
|
||||||
parse = function(params_text)
|
parse = function(params_text)
|
||||||
-------------------------
|
return params_text
|
||||||
end,
|
end,
|
||||||
func = function(name)
|
func = function(name, paramtext)
|
||||||
return true, "DEPRECATED: please use //srel instead..."
|
return false, "DEPRECATED: please use //srel instead..."
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -8,15 +8,15 @@ local Vector3 = wea_c.Vector3
|
||||||
-- ██ ██ ██ ██ ██ ██
|
-- ██ ██ ██ ██ ██ ██
|
||||||
-- ███████ ██ ██ ███████ ██████ ██
|
-- ███████ ██ ██ ███████ ██████ ██
|
||||||
worldeditadditions_core.register_command("srect", {
|
worldeditadditions_core.register_command("srect", {
|
||||||
params = "[<axis1> [<axis2>]] <length>",
|
params = "None",
|
||||||
description = "Set WorldEdit region position 2 at a set distance along 2 axes.",
|
description = "Deprecated.",
|
||||||
privs = { worldedit = true },
|
privs = { worldedit = true },
|
||||||
require_pos = 1,
|
require_pos = 1,
|
||||||
parse = function(params_text)
|
parse = function(params_text)
|
||||||
-------------------------
|
return params_text
|
||||||
end,
|
end,
|
||||||
func = function(name)
|
func = function(name, paramtext)
|
||||||
return true, "DEPRECATED: please use //srel instead..."
|
return false, "DEPRECATED: please use //srel instead..."
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue