LuaAPI.wiki
changeset 1650 11fce1b6d39b
parent 1649 c22e796992aa
child 1653 73a4663f0d7b
equal deleted inserted replaced
1649:c22e796992aa 1650:11fce1b6d39b
    88 || `ClansCount` || Number of clans, including defeated ones (a clan is a group of teams with same color) ||
    88 || `ClansCount` || Number of clans, including defeated ones (a clan is a group of teams with same color) ||
    89 || `TeamsCount` || Number of teams, including defeated ones ||
    89 || `TeamsCount` || Number of teams, including defeated ones ||
    90 || `TurnTimeLeft` || Number of game ticks (milliseconds) left until the current turn ends. To set this value, use `SetTurnTimeLeft` ||
    90 || `TurnTimeLeft` || Number of game ticks (milliseconds) left until the current turn ends. To set this value, use `SetTurnTimeLeft` ||
    91 || `ReadyTimeLeft` || Remaining ready time in millseconds, 0 if turn in progress. To set this value, use `SetReadyTimeLeft` ||
    91 || `ReadyTimeLeft` || Remaining ready time in millseconds, 0 if turn in progress. To set this value, use `SetReadyTimeLeft` ||
    92 || `GameTime` || Number of total game ticks ||
    92 || `GameTime` || Number of total game ticks ||
    93 || `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 || `TotalRounds` || Number of rounds that have passed. Equals `-1` if game has not started yet or hogs are still being placed. ||
    94 || `CurrentHedgehog` || The hedgehog gear that is currently in play ||
    94 || `CurrentHedgehog` || The hedgehog gear that is currently in play ||
    95 || `AmmoTypeMax` || Maximum ammo type ID (useful to iterate through all ammo types, starting by 0) ||
    95 || `AmmoTypeMax` || Maximum ammo type ID (useful to iterate through all ammo types, starting by 0) ||
    96 || `MAX_HOG_HEALTH` || Maximum possible hedgehog health ||
    96 || `MAX_HOG_HEALTH` || Maximum possible hedgehog health ||
    97 || `MAX_TURN_TIME` || Maximum possible turn time in milliseconds ||
    97 || `MAX_TURN_TIME` || Maximum possible turn time in milliseconds ||
    98 || `INTERFACE` || Type of the game interface: "desktop" for desktop, "touch" for touchscreen ||
    98 || `INTERFACE` || Type of the game interface: "desktop" for desktop, "touch" for touchscreen ||