mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-12-04 04:53:50 +01:00
new commands registered
This commit is contained in:
parent
4dacd10597
commit
4ff01bba4e
@ -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 New Issue
Block a user