erode/snowballs: correct comment

This commit is contained in:
Starbeamrainbowlabs 2021-05-29 23:20:34 +01:00
parent a8ddc7831a
commit 17b8f8a555
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@ function worldeditadditions.erode.run(pos1, pos2, algorithm, 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: -- FUTURE: Add a new "river" algorithm here that:
-- * Fills in blocks that are srrounded on more than 3 horizontal sides -- * Fills in blocks that are surrounded on more than 3 horizontal sides
-- * Destroys blocks that have no horizontal neighbours -- * Destroys blocks that have no horizontal neighbours
-- A bit like cellular automata actually. -- 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!"

View file

@ -86,7 +86,7 @@ function worldeditadditions.erode.snowballs(heightmap_initial, heightmap, height
maxdiff = 0.4, maxdiff = 0.4,
count = 25000 count = 25000
} }
-- Apply the default settings -- Apply the custom settings
worldeditadditions.table_apply(params_custom, params) worldeditadditions.table_apply(params_custom, params)
-- print("[erode/snowballs] params: ") -- print("[erode/snowballs] params: ")