LuaAPI: Add SkipTurn and onSkipTurn
authorWuzzy
Thu, 22 Mar 2018 17:03:33 +0000
changeset 1269 347b7c9acf0a
parent 1268 4eeac350c9e1
child 1270 2c4320387c2f
LuaAPI: Add SkipTurn and onSkipTurn
LuaAPI.wiki
--- a/LuaAPI.wiki	Thu Mar 22 16:02:38 2018 +0000
+++ b/LuaAPI.wiki	Thu Mar 22 17:03:33 2018 +0000
@@ -228,6 +228,9 @@
 
 Because this function is called *before* victories are checked, this is useful to set up your victory conditions here.
 
+=== <tt>onSkipTurn()</tt> (0.9.24) ===
+This function calls when a hog skips its turn.
+
 === <tt>onSuddenDeath()</tt> ===
 This function is called on the start of Sudden Death.
 
@@ -987,6 +990,9 @@
 ==== <tt>!SetMaxBuildDistance(distInPx)</tt> ====
 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.
 
+==== `SkipTurn()` (0.9.24) ====
+Forces the current hedgehog to skip its turn.
+
 ==== `EndTurn([noTaunts])` (0.9.23) ====
 Ends the current turn.