mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-12-22 19:45:02 +00:00
erode: add future comment
This commit is contained in:
parent
75a5f14f01
commit
87b7254350
1 changed files with 4 additions and 0 deletions
|
@ -27,6 +27,10 @@ function worldeditadditions.erode.run(pos1, pos2, algorithm, params)
|
|||
success, msg = worldeditadditions.erode.snowballs(heightmap, heightmap_eroded, heightmap_size, region_height, params)
|
||||
if not success then return success, msg end
|
||||
else
|
||||
-- FUTURE: Add a new "river" algorithm here that:
|
||||
-- * Fills in blocks that are srrounded on more than 3 horizontal sides
|
||||
-- * Destroys blocks that have no horizontal neighbours
|
||||
-- A bit like cellular automata actually.
|
||||
return false, "Error: Unknown algorithm '"..algorithm.."'. Currently implemented algorithms: snowballs (2d; hydraulic-like). Ideas for algorithms to implement are welcome!"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue