diff --git a/CHANGELOG.md b/CHANGELOG.md index 61c6cf7..c582978 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ It's about time I started a changelog! This will serve from now on as the main c ## v1.11 (unreleased) - `//count`: Make numbers human-readable - Tip: Use a monospace font for the chat window, and the columns will be aligned! + - Add `//hollow` for hollowing out areas (a step towards parity with Minecraft WorldEdit) ## v1.10 (16th January 2021) diff --git a/Chat-Command-Reference.md b/Chat-Command-Reference.md index 47d7e90..97e4ea7 100644 --- a/Chat-Command-Reference.md +++ b/Chat-Command-Reference.md @@ -151,6 +151,16 @@ Floating-point values are fully supported for the radius. //line glass 0.5 ``` +### `//hollow []` +Replaces nodes inside the defined region with air, but leaving a given number of nodes near the outermost edges alone. In other words, it makes the defined region hollow, while leaving walls around the edges of a given thickness (defaulting to a wall thickness of 1). + +Note that all air-like nodes are also left alone. + +``` +//hollow +//hollow 2 +``` + ### `//maze [ [ []]]` Generates a maze using replace_node as the walls and air as the paths. Uses [an algorithm of my own devising](https://starbeamrainbowlabs.com/blog/article.php?article=posts/070-Language-Review-Lua.html). It is guaranteed that you can get from every point to every other point in generated mazes, and there are no loops. diff --git a/README.md b/README.md index 3b50336..51da3e4 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,7 @@ The detailed explanations have moved! Check them out [here](https://github.com/s - [`//hollowtorus `](https://github.com/sbrl/Minetest-WorldEditAdditions/blob/master/Chat-Command-Reference.md#hollowtorus-major_radius-minor_radius-node_name) - [`//walls `](https://github.com/sbrl/Minetest-WorldEditAdditions/blob/master/Chat-Command-Reference.md#walls-replace_node) - [`//line [ []]`](https://github.com/sbrl/Minetest-WorldEditAdditions/blob/master/Chat-Command-Reference.md#line-replace_node-radius) + - [`//hollow []`](https://github.com/sbrl/Minetest-WorldEditAdditions/blob/master/Chat-Command-Reference.md#hollow-wall_thickness) - [`//maze [ [ []]]`](https://github.com/sbrl/Minetest-WorldEditAdditions/blob/master/Chat-Command-Reference.md#maze-replace_node-path_length-path_width-seed) - [`//maze3d [ [ [ []]]]`](https://github.com/sbrl/Minetest-WorldEditAdditions/blob/master/Chat-Command-Reference.md#maze3d-replace_node-path_length-path_width-path_depth-seed)