# HG changeset patch
# User Wuzzy
# Date 1493216382 -3600
# Node ID 97eba4395dfd8b535d0e7613e2e1213da87a4a1d
# Parent 9d49deef533c45a7fea49403737083ba21ac2e21
LuaAPI: Add EndTurn
diff -r 9d49deef533c -r 97eba4395dfd LuaAPI.wiki
--- a/LuaAPI.wiki Wed Apr 26 15:14:28 2017 +0100
+++ b/LuaAPI.wiki Wed Apr 26 15:19:42 2017 +0100
@@ -921,6 +921,11 @@
==== !SetMaxBuildDistance(distInPx) (0.9.22) ====
Sets the maximum building distance for of girders and rubber bands in pixels to `distInPx`. If `distInPx` is `0`, the limit is disabled. If called without arguments, the distance will be reset to the default value.
+==== !EndTurn([noTaunts]) (0.9.23) ====
+Ends the current turn.
+
+Normally, a “Coward” taunt may be played and an announcer message may be shown (depending on the situation). Set the optional `noTaunts` parameter to `true` to force the engine to never play a taunt or show a message. `noTaunts` is `false` by default.
+
==== !EndGame() ====
Makes the game end.