LuaAPI: Clarify globals
authorWuzzy
Thu, 08 Feb 2018 18:24:37 +0000
changeset 1157 700fccda9e4d
parent 1156 e739aecb013a
child 1158 8d62ba66e7b0
LuaAPI: Clarify globals
LuaAPI.wiki
--- a/LuaAPI.wiki	Thu Feb 08 18:23:14 2018 +0000
+++ b/LuaAPI.wiki	Thu Feb 08 18:24:37 2018 +0000
@@ -84,12 +84,12 @@
 || `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, including defeated ones (a clan is a group of teams with same color) ||
-|| `TeamsCount` || Total number of teams, including defeated ones ||
+|| `ClansCount` || Number of clans, including defeated ones (a clan is a group of teams with same color) ||
+|| `TeamsCount` || 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 ||
+|| `TotalRounds` || Number of rounds that have passed. Is `-1` if game has not started yet, or hog 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) ||