mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-08-21 05:54:06 +02:00
erode: add future comment
This commit is contained in:
parent
75a5f14f01
commit
87b7254350
@ -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)
|
success, msg = worldeditadditions.erode.snowballs(heightmap, heightmap_eroded, heightmap_size, region_height, params)
|
||||||
if not success then return success, msg end
|
if not success then return success, msg end
|
||||||
else
|
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!"
|
return false, "Error: Unknown algorithm '"..algorithm.."'. Currently implemented algorithms: snowballs (2d; hydraulic-like). Ideas for algorithms to implement are welcome!"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user