Update docs about //hollow

This commit is contained in:
Starbeamrainbowlabs 2021-01-31 20:08:09 +00:00
parent 0f4d95fc01
commit c627ea224c
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
3 changed files with 12 additions and 0 deletions

View File

@ -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)

View File

@ -151,6 +151,16 @@ Floating-point values are fully supported for the radius.
//line glass 0.5
```
### `//hollow [<wall_thickness>]`
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 <replace_node> [<path_length> [<path_width> [<seed>]]]`
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.

View File

@ -31,6 +31,7 @@ The detailed explanations have moved! Check them out [here](https://github.com/s
- [`//hollowtorus <major_radius> <minor_radius> <node_name>`](https://github.com/sbrl/Minetest-WorldEditAdditions/blob/master/Chat-Command-Reference.md#hollowtorus-major_radius-minor_radius-node_name)
- [`//walls <replace_node>`](https://github.com/sbrl/Minetest-WorldEditAdditions/blob/master/Chat-Command-Reference.md#walls-replace_node)
- [`//line [<replace_node> [<radius>]]`](https://github.com/sbrl/Minetest-WorldEditAdditions/blob/master/Chat-Command-Reference.md#line-replace_node-radius)
- [`//hollow [<wall_thickness>]`](https://github.com/sbrl/Minetest-WorldEditAdditions/blob/master/Chat-Command-Reference.md#hollow-wall_thickness)
- [`//maze <replace_node> [<path_length> [<path_width> [<seed>]]]`](https://github.com/sbrl/Minetest-WorldEditAdditions/blob/master/Chat-Command-Reference.md#maze-replace_node-path_length-path_width-seed)
- [`//maze3d <replace_node> [<path_length> [<path_width> [<path_depth> [<seed>]]]]`](https://github.com/sbrl/Minetest-WorldEditAdditions/blob/master/Chat-Command-Reference.md#maze3d-replace_node-path_length-path_width-path_depth-seed)