# HG changeset patch # User Wuzzy # Date 1518114177 0 # Node ID 90bf2e94092523dfa8fc9f93d76f00a66e58125e # Parent c51b5a2697d76bc96cf43a8f61b1b90e5df2c0a2 LuaAPI: clarify ClansCount, TeamsCount diff -r c51b5a2697d7 -r 90bf2e940925 LuaAPI.wiki --- a/LuaAPI.wiki Wed Feb 07 08:06:01 2018 +0000 +++ b/LuaAPI.wiki Thu Feb 08 18:22:57 2018 +0000 @@ -84,14 +84,14 @@ || `CursorX` || The X position of the cursor if the player is choosing a target. Otherwise, this is `-2147483648` || || `CursorY` || The Y position of the cursor if the player is choosing a target. Otherwise, this is `-2147483648` || || `WaterLine` || The y position of the water, used to determine at which position stuff drowns. Use `SetWaterLine` to change. || -|| `ClansCount` || Number of clans in the game (teams with the same color belong to one clan) || -|| `TeamsCount` || Number of teams in the game || +|| `ClansCount` || Number of clans in the game, including defeated ones (a clan is a group of teams with same color) +|| `TeamsCount` || Total number of teams, including defeated ones || || `TurnTimeLeft` || Number of game ticks (milliseconds) left until the current turn ends. You can change this variable directly. || || `ReadyTimeLeft` || Remaining ready time in millseconds, 0 if turn in progress. Can be set in onNewTurn. In other places, it should only be read, not written. || || `GameTime` || Number of total game ticks || || `TotalRounds` || Number of rounds that have passed || || `CurrentHedgehog` || The hedgehog gear that is currently in play || -|| `AmmoTypeMax` || Maximum ammo type ID (useful to iterate through all ammo types, starting by 0) +|| `AmmoTypeMax` || Maximum ammo type ID (useful to iterate through all ammo types, starting by 0) || === !GameFlags === The !GameFlags are used to store simple boolean settings of the game.