Vicevirtuoso
The Modetta Man
For those of you who are moving from Civilization 5 Lua modding to CivBE Lua modding, it appears that GameInfoTypes does not work 100% of the time in BE. It works without issue for items in the base game, but not for mods -- it will return nil. For the time being, instead of:
you would need to use:
Hopefully this will save people the hours of testing I did until I found out that this was the issue, and will keep Civs like Colonialist Legacies' Vesperia from being delayed.
Code:
GameInfoTypes.CIVILIZATION_TESTCIV
you would need to use:
Code:
GameInfo.Civilizations["CIVILIZATION_TESTCIV"].ID
Hopefully this will save people the hours of testing I did until I found out that this was the issue, and will keep Civs like Colonialist Legacies' Vesperia from being delayed.
