erode: add future comment

This commit is contained in:
Starbeamrainbowlabs 2021-05-22 02:36:56 +01:00
parent 75a5f14f01
commit 87b7254350
No known key found for this signature in database
GPG Key ID: 1BE5172E637709C2

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