Mod API Reference:Client TerritoryInfo: 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:5310:53, 2 November 2026‎ Fizzer talk contribs‎ 1,646 bytes +1,646‎ Created page with "Put the function in a file named <code>Client_TerritoryInfo.lua</code>: <pre> function Client_TerritoryInfo(game, territory, info) info.AddRow('Fortified: +3 defense'); end </pre> The client calls this hook when a player looks at a territory: in the territory inspector, and in the tooltip shown when hovering over it. Each row your mod adds is shown on its own line. {| class="wikitable" ! Argument !! Type !! Description |- | <code>game</code> || Mod API Reference..."