87 || `ClansCount` || Number of clans, including defeated ones (a clan is a group of teams with same color) || |
87 || `ClansCount` || Number of clans, including defeated ones (a clan is a group of teams with same color) || |
88 || `TeamsCount` || Number of teams, including defeated ones || |
88 || `TeamsCount` || Number of teams, including defeated ones || |
89 || `TurnTimeLeft` || Number of game ticks (milliseconds) left until the current turn ends. You can change this variable directly. || |
89 || `TurnTimeLeft` || Number of game ticks (milliseconds) left until the current turn ends. You can change this variable directly. || |
90 || `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. || |
90 || `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. || |
91 || `GameTime` || Number of total game ticks || |
91 || `GameTime` || Number of total game ticks || |
92 || `TotalRounds` || Number of rounds that have passed. Is `-1` if game has not started yet, or hog are still being placed || |
92 || `TotalRounds` || Number of rounds that have passed. Equals `-1` if game has not started yet or hogs are still being placed. This variable is buggy in 0.9.23 and earlier! || |
93 || `CurrentHedgehog` || The hedgehog gear that is currently in play || |
93 || `CurrentHedgehog` || The hedgehog gear that is currently in play || |
94 || `AmmoTypeMax` || Maximum ammo type ID (useful to iterate through all ammo types, starting by 0) || |
94 || `AmmoTypeMax` || Maximum ammo type ID (useful to iterate through all ammo types, starting by 0) || |
95 |
95 |
96 === !GameFlags === |
96 === !GameFlags === |
97 The !GameFlags are used to store simple boolean settings of the game. |
97 The !GameFlags are used to store simple boolean settings of the game. |