From d6d11c6b1aeb29027c09747a7868d3c41ada5de1 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sat, 20 Mar 2021 02:17:56 +0000 Subject: [PATCH] README: Update quick reference --- CHANGELOG.md | 2 +- README.md | 3 +++ worldeditadditions/utils/node_identification.lua | 14 ++++++++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d66ae56..8353328 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ Note to self: See the bottom of this file for the release template text. - `//multi`: Improve resilience by handling some edge cases - Add `//srect` (_select rectangle_), `//scol` (_select column_), `//scube` (_select cube_) - thanks, @VorTechnix! - Add `//scloud` (_select point cloud_), `//scentre` (_select centre node(s)_), `//srel` (_select relative_) - thanks, @VorTechnix! -- Significantly refactored backend utility functions +- Significantly refactored backend utility functions (more to come in future updates) ## v1.11: The big data update (25th January 2021) diff --git a/README.md b/README.md index 707b8e9..737305d 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,9 @@ The detailed explanations have moved! Check them out [here](https://github.com/s - [`//scol [ ] `](https://github.com/sbrl/Minetest-WorldEditAdditions/blob/master/Chat-Command-Reference.md#scol-axis1--length) - [`//srect [ []] `](https://github.com/sbrl/Minetest-WorldEditAdditions/blob/master/Chat-Command-Reference.md#srect-axis1-axis2-length) - [`//scube [ [ []]] `](https://github.com/sbrl/Minetest-WorldEditAdditions/blob/master/Chat-Command-Reference.md#scube-axis1-axis2-axis3-length) + - [`//scloud <0-6|stop|reset>`](https://github.com/sbrl/Minetest-WorldEditAdditions/blob/main/Chat-Command-Reference.md#scloud-0-6stopreset) + - [`//scentre`](https://github.com/sbrl/Minetest-WorldEditAdditions/blob/main/Chat-Command-Reference.md#scentre) + - [`//srel [ [ ]]`](https://github.com/sbrl/Minetest-WorldEditAdditions/blob/main/Chat-Command-Reference.md#srel-axis1-length1-axis2-length2-axis3-length3) - [`//sstack`](https://github.com/sbrl/Minetest-WorldEditAdditions/blob/master/Chat-Command-Reference.md#sstack) - [`//spush`](https://github.com/sbrl/Minetest-WorldEditAdditions/blob/master/Chat-Command-Reference.md#spush) - [`//spop`](https://github.com/sbrl/Minetest-WorldEditAdditions/blob/master/Chat-Command-Reference.md#spop) diff --git a/worldeditadditions/utils/node_identification.lua b/worldeditadditions/utils/node_identification.lua index c3e83c1..5f42f18 100644 --- a/worldeditadditions/utils/node_identification.lua +++ b/worldeditadditions/utils/node_identification.lua @@ -61,6 +61,20 @@ function worldeditadditions.is_sapling(id) return minetest.get_item_group(node_name, "sapling") ~= 0 end + +-- ███████ █████ ██████ ██ ██ ███ ██ ██████ +-- ██ ██ ██ ██ ██ ██ ██ ████ ██ ██ +-- ███████ ███████ ██████ ██ ██ ██ ██ ██ ██ ███ +-- ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ +-- ███████ ██ ██ ██ ███████ ██ ██ ████ ██████ +-- +-- █████ ██ ██ █████ ███████ ███████ ███████ +-- ██ ██ ██ ██ ██ ██ ██ ██ ██ +-- ███████ ██ ██ ███████ ███████ █████ ███████ +-- ██ ██ ██ ██ ██ ██ ██ ██ ██ +-- ██ ██ ███████ ██ ██ ██ ███████ ███████ ███████ + + local sapling_aliases = {} function worldeditadditions.register_sapling_alias(sapling_node_name, alias) if sapling_aliases[sapling_node_name] ~= nil then