# HG changeset patch # User Wuzzy # Date 1525306873 -3600 # Node ID 607ff7beea3d300c74c2154da67135d9e0a19b4f # Parent 0b22af910c311bc67e228dc8379e6fec8499f38a LuaLibraryUtils: optional flush diff -r 0b22af910c31 -r 607ff7beea3d LuaLibraryUtils.wiki --- a/LuaLibraryUtils.wiki Thu May 03 01:19:10 2018 +0100 +++ b/LuaLibraryUtils.wiki Thu May 03 01:21:13 2018 +0100 @@ -13,8 +13,8 @@ Returns whether the gear is inside a circle with x and y being the centre point and r being the radius of the circle. The boolean useRadius determine whether only the centre point of the gear will be used or the radius of the gear will be checked too. -== `fillMap(flush)` == +== `fillMap([flush])` == Completely fill the current map with land. Requires `MapGen` to be set to `mgDrawn`. `FlushPoints()` will be called at the end, unless `flush` is set to `false`. -== `eraseMap(flush)` == +== `eraseMap([flush])` == Completely erase all land from current map. Requires `MapGen` to be set to `mgDrawn`. `FlushPoints()` will be called at the end, unless `flush` is set to `false`. \ No newline at end of file