new commands registered

This commit is contained in:
VorTechnix 2024-09-12 15:09:04 -07:00
parent 4dacd10597
commit 4ff01bba4e
No known key found for this signature in database
GPG key ID: 091E91A69545D5BA
2 changed files with 4 additions and 4 deletions

View file

@ -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)

View file

@ -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)