equal
deleted
inserted
replaced
186 This function is called every 20 game ticks, which equals 50 times a second. It reduces Lua overhead for simple monitoring that doesn’t need to happen every single tick. |
186 This function is called every 20 game ticks, which equals 50 times a second. It reduces Lua overhead for simple monitoring that doesn’t need to happen every single tick. |
187 |
187 |
188 === <tt>onNewTurn()</tt> === |
188 === <tt>onNewTurn()</tt> === |
189 This function calls at the start of every turn. |
189 This function calls at the start of every turn. |
190 |
190 |
191 === <tt>onSuddenDeath() (0.9.22)</tt> === |
191 === <tt>onSuddenDeath()</tt> (0.9.22) === |
192 This function is called on the start of Sudden Death. |
192 This function is called on the start of Sudden Death. |
193 |
193 |
194 === <tt>onGearAdd(gearUid)</tt> === |
194 === <tt>onGearAdd(gearUid)</tt> === |
195 This function is called when a new gear is added. Useful in combination with `GetGearType(gearUid)`. |
195 This function is called when a new gear is added. Useful in combination with `GetGearType(gearUid)`. |
196 |
196 |