# HG changeset patch # User Wuzzy # Date 1521738213 0 # Node ID 347b7c9acf0ae86024d66fc7c20839c542ef92ff # Parent 4eeac350c9e1fc8266e04651500eed075af94ca5 LuaAPI: Add SkipTurn and onSkipTurn diff -r 4eeac350c9e1 -r 347b7c9acf0a 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. +=== onSkipTurn() (0.9.24) === +This function calls when a hog skips its turn. + === onSuddenDeath() === This function is called on the start of Sudden Death. @@ -987,6 +990,9 @@ ==== !SetMaxBuildDistance(distInPx) ==== 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.