//smake: describe operation & mode a bit better

This commit is contained in:
Starbeamrainbowlabs 2021-06-26 02:26:06 +01:00
parent 9ad3fd97d9
commit 25e6ff467c
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
2 changed files with 2 additions and 2 deletions

View file

@ -602,7 +602,7 @@ Short for _select relative_. Sets the pos2 at set distances along 3 axes relativ
//scube -z 12 -y -2 x -2
```
## `//smake <operation> <mode> [<target=xz> [<base>]]`
## `//smake <operation:odd|even|equal> <mode:grow|shrink|average> [<target=xz> [<base>]]`
Short for _selection make_. Modifies existing selection by moving pos2. Allows you to make the selection an odd or even length on one or more axes or set two or more axes equal to each other or the longest, shortest or average of them. Implementation thanks to @VorTechnix.
Usage examples:

View file

@ -5,7 +5,7 @@
-- ███████ ██ ██ ██ ██ ██ ██ ███████
local wea = worldeditadditions
worldedit.register_command("smake", {
params = "<operation> <mode> [<target=xyz> [<base>]]",
params = "<operation:odd|even|equal> <mode:grow|shrink|average> [<target=xyz> [<base>]]",
description = "Make one or more axes of the current selection odd, even, or equal to another.",
privs = { worldedit = true },
require_pos = 2,