From 87b7254350ec02722870cf26ea9d59768f50432a Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sat, 22 May 2021 02:36:56 +0100 Subject: [PATCH] erode: add future comment --- worldeditadditions/lib/erode/erode.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/worldeditadditions/lib/erode/erode.lua b/worldeditadditions/lib/erode/erode.lua index cd7466d..f35090d 100644 --- a/worldeditadditions/lib/erode/erode.lua +++ b/worldeditadditions/lib/erode/erode.lua @@ -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