From 4f895f2da52d24c1e24c3571039fa739aff318ef Mon Sep 17 00:00:00 2001 From: VorTechnix <45538536+VorTechnix@users.noreply.github.com> Date: Sun, 27 Jun 2021 16:24:38 -0700 Subject: [PATCH] Add //sfac to Chat-Command-Reference.md --- Chat-Command-Reference.md | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/Chat-Command-Reference.md b/Chat-Command-Reference.md index 9200ec0..a56c35c 100644 --- a/Chat-Command-Reference.md +++ b/Chat-Command-Reference.md @@ -641,7 +641,7 @@ Value | Description ----------------|-------------- `grow` | Grow each axis specified in `` to the nearest odd/even number to itself `shrink` | Shrink each axis specified in `` to the nearest odd/even number to itself -`average`|`avg` | Take the average of all axes specified in `` and then for each specified axis grow or shrink it, depending on weather it is less than or greater than the average, to the nearest odd/even number to itself +`average`/`avg` | Takes the average of all axes specified in `` and then for each specified axis grows or shrinks it, depending on whether it is less than or greater than the average, to the nearest odd/even number to itself #### *If `` == equal:* The `` argument can be omitted and will not be parsed if present if `` is specified @@ -650,7 +650,8 @@ Value | Description ----------------|--------------- `grow` | Grow each axis specified in `` to the length of the longest specified axis `shrink` | Shrink each axis specified in `` to the length of the shortest specified axis -`average`|`avg` | Set each axis specified in `` to the average length of all the specified axes +`average`/`avg` | Set each axis specified in `` to the average length of all the specified axes +If `` | `` becomes optional. If present it will be ignored. ### Additional arguments: @@ -658,8 +659,25 @@ Name | Description ------------|------------------ `` | Specify axes to perform operation on (default= xz)| ``: If `` == odd or even | Does nothing -``: If `` == equal | Overrides ``^[1] and sets all `` axes equal to itself +``: If `` == equal | Overrides `` and sets all `` axes equal to itself +## `//sfactor []` +Short for _selection make_; alias: `//sfac`. Built specifically for use with `//maze`, this command sets targeted axes equal to the nearest multiple of `` based on the ``. + +Usage examples: + +``` +//sfac grow 5 +//sfac avg 3 xy +``` + +### ``: grow|shrink|average + +Value | Description +--------|-------------- +`grow` | Rounds the length of each target axis up to the nearest multiple of `` +`shrink` | Rounds the length of each target axis down to the nearest multiple of `` +`average`/`avg` | Takes the average of all axes specified in `` and then for each specified axis grows or shrinks it, depending on whether it is less than or greater than the average, to the nearest multiple of `` ## `//sstack` Displays the contents of your per-user selection stack. This stack can be pushed to and popped from rather like a stack of plates. See also `//spush` (for pushing to the selection stack) and `//spop` (for popping from the selection stack). @@ -668,7 +686,6 @@ Displays the contents of your per-user selection stack. This stack can be pushed //sstack ``` - ## `//spush` Pushes the currently defined region onto your per-user selection stack. Does not otherwise alter the defined region.