mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-09-12 08:08:30 +02:00
//smake: describe operation & mode a bit better
This commit is contained in:
parent
9ad3fd97d9
commit
25e6ff467c
@ -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
|
//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.
|
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:
|
Usage examples:
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
-- ███████ ██ ██ ██ ██ ██ ██ ███████
|
-- ███████ ██ ██ ██ ██ ██ ██ ███████
|
||||||
local wea = worldeditadditions
|
local wea = worldeditadditions
|
||||||
worldedit.register_command("smake", {
|
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.",
|
description = "Make one or more axes of the current selection odd, even, or equal to another.",
|
||||||
privs = { worldedit = true },
|
privs = { worldedit = true },
|
||||||
require_pos = 2,
|
require_pos = 2,
|
||||||
|
Loading…
Reference in New Issue
Block a user