--- a/LuaAPI.wiki Tue Dec 04 00:34:28 2018 +0000
+++ b/LuaAPI.wiki Tue Dec 04 00:35:27 2018 +0000
@@ -76,7 +76,10 @@
Here are some unsorted variables or constants which are available in Lua. *Consider these variables to be read-only.*
|| *Identifier* || *Description* ||
-|| `LOCALE` || Current locale identifier (e.g. “de” for German) ||
+|| `LOCALE` || Current locale identifier (e.g. `"de"` for German) ||
+|| `INTERFACE` || Type of the game interface: `"desktop"` for desktop, `"touch"` for touchscreen ||
+|| `MAX_HOG_HEALTH` || Maximum possible hedgehog health ||
+|| `MAX_TURN_TIME` || Maximum possible turn time in milliseconds ||
|| `LAND_WIDTH` || The width of the landscape in pixels. Not available before `onGameStart` ||
|| `LAND_HEIGHT` || The height of the landscape in pixels. Not available before `onGameStart` ||
|| `LeftX` || X coordinate of the leftmost point of the landscape. Not available before `onGameStart` ||
@@ -93,9 +96,6 @@
|| `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 ||
-|| `MAX_TURN_TIME` || Maximum possible turn time in milliseconds ||
-|| `INTERFACE` || Type of the game interface: `"desktop"` for desktop, `"touch"` for touchscreen ||
=== !GameFlags ===
The !GameFlags are used to store simple boolean settings of the game.