I ran it with just the civ V unofficial patch installed, and got the error: attampt to index local param (a number value).
To make things easier, I have attached the lua.txt file (most of the initial stuff is setting up the game, but since I wasn't sure where you wanted to look I included it...