mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-22 15:33:00 +00:00
//smake: describe operation & mode a bit better
This commit is contained in:
parent
9ad3fd97d9
commit
25e6ff467c
2 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue