LuaAPI.wiki
changeset 1653 73a4663f0d7b
parent 1650 11fce1b6d39b
child 1654 5c7dfdedb5f8
equal deleted inserted replaced
1652:ff0512443f75 1653:73a4663f0d7b
    93 || `TotalRounds` || Number of rounds that have passed. Equals `-1` if game has not started yet or hogs are still being placed. ||
    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 ||
    99 
    99 
   100 === !GameFlags ===
   100 === !GameFlags ===
   101 The !GameFlags are used to store simple boolean settings of the game.
   101 The !GameFlags are used to store simple boolean settings of the game.
   102 You can read/modify them using the [LuaAPI#GameFlags_functions GameFlags-Functions].
   102 You can read/modify them using the [LuaAPI#GameFlags_functions GameFlags-Functions].
   103 
   103