Home › Enums › SlotStatus

Available out of the box. Usable from Lua in the unmodified game.

SlotStatus

Lua constant table SlotStatus. Engine enum: GameCore::SlotStatus.

The table name and the Lua key column come from the Civilization VI Modding Companion (ChimpanG, expanded and maintained by WildW). The engine names and values come from the game library's debug info. Every member the Companion lists has the same value in the engine enum, which is how the two were matched.

5 of 7 engine members are listed by the Companion. The others exist in the engine, but we do not know whether Lua exposes them, so use the Lua key column as the safe set.

Lua key Engine name Value
SS_OPEN SS_OPEN 0
SS_COMPUTER SS_COMPUTER 1
SS_CLOSED SS_CLOSED 2
SS_TAKEN SS_TAKEN 3
SS_OBSERVER SS_OBSERVER 4
not listed SS_CANDIDATE_COMPUTER 5
not listed SS_MAX_SLOT_STATUS 6