LuaAPI.wiki
changeset 997 97eba4395dfd
parent 996 9d49deef533c
child 1003 a4f8e22e15c6
--- 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 @@
 ==== <tt>!SetMaxBuildDistance(distInPx)</tt> (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.
 
+==== <tt>!EndTurn([noTaunts])</tt> (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.
+
 ==== <tt>!EndGame()</tt> ====
 Makes the game end.