From 753ead210249f10b27a34c32a9308d8a91be1d63 Mon Sep 17 00:00:00 2001 From: VorTechnix <45538536+VorTechnix@users.noreply.github.com> Date: Tue, 17 Sep 2024 14:10:02 -0700 Subject: [PATCH] UAK to UAS --- CHANGELOG.md | 12 ++++++------ Chat-Command-Reference.md | 15 ++++++--------- 2 files changed, 12 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b40630..93c1e68 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ It's about time I started a changelog! This will serve from now on as the main c Note to self: See the bottom of this file for the release template text. -## v1.15: The deprecation update (unreleased) +## v1.15: The direction update (unreleased) - Added the optional argument `all` to [`//unmark`](https://worldeditadditions.mooncarrot.space/Reference/#unmark) - Added a (rather nuclear) fix (attempt 4) at finally exterminating all zombie region marker walls forever - This is not a hotfix to avoid endless small releases fixing the bug, as it's clear it's much more difficult to fix on all systems than initially expected @@ -16,19 +16,19 @@ Note to self: See the bottom of this file for the release template text. - Added [`//set+`](https://worldeditadditions.mooncarrot.space/Reference/#set) for setting nodes and param2/light levels quickly. - NOTE TO SELF: Setting light values doesn't appear to be working very well for some reason - Added [`//ndef`](https://worldeditadditions.mooncarrot.space/Reference/#ndef) to print a given node's definition table. This is for debugging and development purposes. -- Added `//sgrow` and `//sshrink` and aliased them over WorldEdit equivalents (`//expand`, `//outset` and `//contract`, `//inset` respectively). -- Added Universal Axis Keyword (UAK) System parser. - Implementation by @VorTechnix - - See [UAK System reference] for details. (Note to self hook up hyperlink) +- Added `//sgrow` and `//sshrink` commands to enlarge and shrink selection regions and aliased them over WorldEdit equivalents (`//expand`, `//outset` and `//contract`, `//inset` respectively). +- Added Unified Axis Syntax (UAS) parser. - Implementation by @VorTechnix + - See [UAS System reference] for details. (Note to self hook up hyperlink) ### Bugfixes and changes - Don't warn on failed registration of `//flora` → [`//bonemeal`](https://worldeditadditions.mooncarrot.space/Reference/#bonemeal) if the `bonemeal` mod isn't installed (e.g. in MineClone2) - thanks @VorTechnix in #106 - Improve documentation of [`//noise2d`](https://worldeditadditions.mooncarrot.space/Reference/#noise2d). If it still doesn't make sense, please let me know. It's a complicated command that needs reworking a bit to be easier to use. - Alias `//napply` to [`//nodeapply`](https://worldeditadditions.mooncarrot.space/Reference/#nodeapply) -- Re-factored selection tools to all use WEA position system and UAK Parser if applicable. - Re-factor by @VorTechnix +- Re-factored selection tools to all use WEA position system and UAS Parser if applicable. - Re-factor by @VorTechnix - `//sshift` now overrides `//shift` from WorldEdit. - Re-factor by @VorTechnix ### Deprecations -- Deprecated `//scol`, `//srect` and `//scube`. Now that `//srel` is using UAK parser there is no need for them. - Deprecated by @VorTechnix +- Deprecated `//scol`, `//srect` and `//scube`. Now that `//srel` is using UAS parser there is no need for them. - Deprecated by @VorTechnix - Deprecated `//sfactor`. Now that `//sgrow` and `//sshrink` exist it is no longer needed. - Deprecated by @VorTechnix diff --git a/Chat-Command-Reference.md b/Chat-Command-Reference.md index 1aa4716..d3d9c88 100644 --- a/Chat-Command-Reference.md +++ b/Chat-Command-Reference.md @@ -1129,8 +1129,8 @@ This command is intended for debugging and development purposes, but if you're i ███████ ███████ ███████ ███████ ██████ ██ ██ ██████ ██ ████ --> -### Unified Axis Keyword (UAK) System -The Unified Axis Keyword (UAK) System is an attempt to allow users to input direction and distance information in three dimensions using "natural" language. The key features include axis clumping, double negatives, relative directions, mirroring and compass directions (more information below). +### Unified Axis Syntax (UAS) +The Unified Axis Syntax system allows users to input direction and distance information in three dimensions using "natural" language. The key features include axis clumping, double negatives, relative directions, mirroring and compass directions (more information below). *Note: negatives can be applied to axes, directions **AND** distances* @@ -1185,9 +1185,6 @@ From the above examples you can also see the principle of inference. All directi Because UAK attempts to parse "natural" language, there are many ways to express the same direction and distance. This caters to users with different ways of thinking and different play styles which will hopefully make the tools easier to use. ---- ---- - ### `//unmark` Hides the in-game UI that indicates where the current positions and region are located. @@ -1291,7 +1288,7 @@ Short for _select center_. Sets pos1 and pos2 to the centre point(s) of the curr //scentre ``` -### `//srel ` +### `//srel ` Short for _select relative_. Sets the pos2 at set distances along 3 axes relative to pos1. If pos1 is not set it will default to the node directly under the player. The axis arguments accept `x, y, z` as well as `up, down, left, right, front, back`. Left, right, front and back are relative to player facing direction. Negative (`-`) can be applied to the axis, the length or both. Implementation thanks to @VorTechnix. ```weacmd @@ -1301,7 +1298,7 @@ Short for _select relative_. Sets the pos2 at set distances along 3 axes relativ //srel -z 12 -y -2 x -2 ``` -### `//sgrow ` +### `//sgrow ` Short for _selection grow_. Grows the current selection along specified axes/directions. Aliases: `//extend`, `//outset`. @@ -1312,7 +1309,7 @@ Aliases: `//extend`, `//outset`. //sgrow -zy -2 x -2 ``` -### `//sshrink ` +### `//sshrink ` Short for _selection shrink_. Shrinks the current selection along specified axes/directions. Aliases: `//contract`, `//inset`. @@ -1323,7 +1320,7 @@ Aliases: `//contract`, `//inset`. //sshrink -hy 2 x -3 true ``` -### `//sshift ` +### `//sshift ` Short for _selection shift_. Shifts the WorldEdit region along 3 axes. The axis arguments accept `x, y, z` as well as `up, down, left, right, front, back`. Left, right, front and back are relative to player facing direction. Negative (`-`) can be applied to the axis, the length or both. Implementation thanks to @VorTechnix. ```weacmd