Merge branch 'master' of github.com:sbrl/Minetest-WorldEditAdditions

This commit is contained in:
Starbeamrainbowlabs 2019-06-18 00:41:46 +01:00
commit c4d6e6e716
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -8,13 +8,15 @@ If you can dream of it, it probably belongs here!
## Current commands:
**Quick Reference:**
- `//floodfill [<replace_node> [<radius>]]`
- `//overlay <node_name>`
- `//ellipsoid <rx> <ry> <rz> <node_name>`
- `//hollowellipsoid <rx> <ry> <rz> <node_name>`
- `//torus <major_radius> <minor_radius> <node_name>`
- `//hollowtorus <major_radius> <minor_radius> <node_name>`
- `//multi <command_a> <command_b> .....`
- [`//floodfill [<replace_node> [<radius>]]`](#floodfill-replace_node-radius-floodfill)
- [`//overlay <node_name>`](#overlay-node_name)
- [`//ellipsoid <rx> <ry> <rz> <node_name>`](#ellipsoid-rx-ry-rz-node_name)
- [`//hollowellipsoid <rx> <ry> <rz> <node_name>`](#hollowellipsoid-rx-ry-rz-node_name)
- [`//torus <major_radius> <minor_radius> <node_name>`](#torus-major_radius-minor_radius-node_name)
- [`//hollowtorus <major_radius> <minor_radius> <node_name>`](#hollowtorus-major_radius-minor_radius-node_name)
- [`//multi <command_a> <command_b> .....`](#multi-command_a-command_b-command_c-)
- [`//yy`](#yy)
- [`//nn`](#nn)
### `//floodfill [<replace_node> [<radius>]]`
Floods all connected nodes of the same type starting at _pos1_ with <replace_node> (which defaults to `water_source`), in a sphere with a radius of <radius> (which defaults to 50).
@ -80,6 +82,20 @@ Executes multi chat commands in sequence. Intended for _WorldEdit_ commands, but
//multi /time 7:00 //1 outset h 20 //outset v 5 //overlay dirt_with_grass //1 //sphere 8 air //shift down 1 //floodfill //reset
```
### `//yy`
Confirms the execution of a command if it could potentially affect a large number of nodes and take a while. Equivalent to _WorldEdit_'s `//y`, but because of security sandboxing issues it's not really possible to hook into WorldEdit's existing command.
```
//yy
```
### `//nn`
Prevents the execution of a command if it could potentially affect a large number of nodes and take a while. Equivalent to _WorldEdit_'s `//y`, but because of security sandboxing issues it's not really possible to hook into WorldEdit's existing command.
```
//nn
```
## Contributing
Contributions are welcome! Please state in your pull request(s) that you release your contribution under the _Mozilla Public License 2.0_.