mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-22 15:33:00 +00:00
erode/snowballs: correct comment
This commit is contained in:
parent
a8ddc7831a
commit
17b8f8a555
2 changed files with 2 additions and 2 deletions
|
@ -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!"
|
||||||
|
|
|
@ -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: ")
|
||||||
|
|
Loading…
Reference in a new issue