# HG changeset patch # User Wuzzy # Date 1453034635 0 # Node ID d22bb25c55ac5dd0830a5fa07b5388af7d7d7d64 # Parent 1ece82f7b5479ff39ffa52ff3c9c956a703a2521 LuaDrawing: Update headers diff -r 1ece82f7b547 -r d22bb25c55ac LuaDrawing.wiki --- a/LuaDrawing.wiki Sun Jan 17 12:43:07 2016 +0000 +++ b/LuaDrawing.wiki Sun Jan 17 12:43:55 2016 +0000 @@ -1,12 +1,12 @@ #summary Drawing maps with Lua. -= Drawing Maps With Lua (OUTDATED) = += Drawing maps with Lua (OUTDATED) = +== Overview == Starting in 0.9.18 it is possible to reliably use drawn map mode to draw maps with scripts. A simple example is given below. Note that Drawn maps use an area of 4096x2048. The examples below are static, but obviously this could be used for a random map variation - for example, simulating the Cave map by doing the fill below, then drawing random tunnels using circles that shift their course smoothly. -= Details = - +== Details == First, a couple of convenience functions for drawing to the map. PointsBuffer = '' -- A string to accumulate points in