mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-26 09:03:01 +00:00
new commands registered
This commit is contained in:
parent
4dacd10597
commit
4ff01bba4e
2 changed files with 4 additions and 4 deletions
|
@ -10,9 +10,9 @@ local Vector3 = wea_c.Vector3
|
||||||
-- ███████ ██████ ██ ██ ██████ ███ ███
|
-- ███████ ██████ ██ ██ ██████ ███ ███
|
||||||
|
|
||||||
|
|
||||||
worldeditadditions_core.register_command("srel", {
|
worldeditadditions_core.register_command("sgrow", {
|
||||||
params = "[<axis1>] <length1> [[<axis2>] <length2> [...]]",
|
params = "[<axis1>] <length1> [[<axis2>] <length2> [...]]",
|
||||||
description = "Set WorldEdit region position 2 relative to position 1 and player facing.",
|
description = "Grow selection region",
|
||||||
privs = { worldedit = true },
|
privs = { worldedit = true },
|
||||||
require_pos = 0,
|
require_pos = 0,
|
||||||
parse = function(params_text)
|
parse = function(params_text)
|
||||||
|
|
|
@ -10,9 +10,9 @@ local Vector3 = wea_c.Vector3
|
||||||
-- ███████ ███████ ██ ██ ██ ██ ██ ██ ████ ██ ██
|
-- ███████ ███████ ██ ██ ██ ██ ██ ██ ████ ██ ██
|
||||||
|
|
||||||
|
|
||||||
worldeditadditions_core.register_command("srel", {
|
worldeditadditions_core.register_command("shrink", {
|
||||||
params = "[<axis1>] <length1> [[<axis2>] <length2> [...]]",
|
params = "[<axis1>] <length1> [[<axis2>] <length2> [...]]",
|
||||||
description = "Set WorldEdit region position 2 relative to position 1 and player facing.",
|
description = "Shrink selection region",
|
||||||
privs = { worldedit = true },
|
privs = { worldedit = true },
|
||||||
require_pos = 0,
|
require_pos = 0,
|
||||||
parse = function(params_text)
|
parse = function(params_text)
|
||||||
|
|
Loading…
Reference in a new issue