# HG changeset patch # User Wuzzy # Date 1543883156 0 # Node ID 11fce1b6d39bf8f5d09c4c7516d8fd01ce9720eb # Parent c22e796992aaf655ceaf614c21c594b0d6129a63 LuaAPI: Simplify TotalRounds diff -r c22e796992aa -r 11fce1b6d39b LuaAPI.wiki --- a/LuaAPI.wiki Tue Dec 04 00:24:34 2018 +0000 +++ b/LuaAPI.wiki Tue Dec 04 00:25:56 2018 +0000 @@ -90,7 +90,7 @@ || `TurnTimeLeft` || Number of game ticks (milliseconds) left until the current turn ends. To set this value, use `SetTurnTimeLeft` || || `ReadyTimeLeft` || Remaining ready time in millseconds, 0 if turn in progress. To set this value, use `SetReadyTimeLeft` || || `GameTime` || Number of total game ticks || -|| `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! || +|| `TotalRounds` || Number of rounds that have passed. Equals `-1` if game has not started yet or hogs are still being placed. || || `CurrentHedgehog` || The hedgehog gear that is currently in play || || `AmmoTypeMax` || Maximum ammo type ID (useful to iterate through all ammo types, starting by 0) || || `MAX_HOG_HEALTH` || Maximum possible hedgehog health ||