Mod API Reference:Client TurnAdvanced: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

2 November 2026

  • curprev 10:5210:52, 2 November 2026‎ Fizzer talk contribs‎ 1,810 bytes +1,810‎ Created page with " Put the function in a file named <code>Client_TurnAdvanced.lua</code>: <pre> function Client_TurnAdvanced(game, previousNumberOfTurns) end </pre> The client calls this hook when it loads or refreshes a game that has more turns than the last time this device showed it. That includes: * a turn that advances while the player has the game open * turns that advanced while the player was away, which the hook sees when they next open the game {| class="wikitable" ! Argument..."