Home › Checking the reference against a running game

Checking the reference against a running game

The Lua signatures, return types and object method lists in this reference are recovered from the game code. To find out how accurate they are, they were compared with the real game: Lua was run inside a running Civilization VI (installed build 15038592, single player, disposable game, 2026-10-03) and the results were compared with this reference. A method row marked ✓ called in the game was called once in the UI Lua state and returned the documented number of values; ⚠ test call raised … means the call raised an error with the quoted message; ✓ exists at runtime means the method is present on the live object but was not called.

What was checked

Pitfalls found while testing

Limits

One build, single player, getters only, zero-parameter methods only. Mutating methods, methods with arguments, the gameplay state and multiplayer are not covered by these checks.