diff -r 0b6e80767d96 -r 514babfbad9e LuaUtil.wiki --- a/LuaUtil.wiki Wed Oct 30 03:01:54 2019 +0000 +++ b/LuaUtil.wiki Wed Oct 30 11:59:37 2019 +0100 @@ -38,10 +38,10 @@ === WriteLnToConsole(string) === Writes `string` to `Logs/game0.log`, found in the user data directory. -=== WriteLnToChat(string) (0.9.24) === +=== WriteLnToChat(string) === Writes `string` into the chat. -=== DumpPoint(x, y) (0.9.23) === +=== DumpPoint(x, y) === Converts the whole numbers `x` and `y` to strings and writes them to `Logs/game0.log`, one line each. === StartGhostPoints(count) === @@ -66,7 +66,7 @@ With your report we can fix the shortcoming in future releases. We will try to remove the reliance on `ParseCommand` as good as possible. This will allow scripts to use the previously missing feature in a way that won’t break! -There are many available commands, but actual use in scripting is rare, and even then it's discouraged for long-term use. As of 0.9.24, the only command used in official scripts is: +There are many available commands, but actual use in scripting is rare, and even then it's discouraged for long-term use. The only command used in official scripts is: * `"draw "`: Draws a hand-drawn map. `MapGen` must be `mgDrawn` for this to work. `` is a string which must follow the format specified in [DrawnMapFormat] @@ -82,4 +82,4 @@ See [EngineTestCases] to learn more about testing the engine. == Library functions == -For more utility functions, you might want to check out the [LuaLibraries Lua libraries]. \ No newline at end of file +For more utility functions, you might want to check out the [LuaLibraries Lua libraries].