Looks like all is working with the brackets, cheers, dude!
A new bug appeared, but might be to do with my city co-ord info:
N:\CIV2 TOT\1_OVERLORDS 1940\LuaCore\generalLibrary.lua:2474: ERROR: "getTileID" function called with an invalid tile or coordinates
stack traceback:
[C]: in function 'error'
N:\CIV2 TOT\1_OVERLORDS 1940\LuaCore\generalLibrary.lua:2474: in function 'generalLibrary.getTileId'
N:\CIV2 TOT\1_OVERLORDS 1940\LuaCore\canBuild.lua:180: in upvalue 'makeNewLocationParameters'
N:\CIV2 TOT\1_OVERLORDS 1940\LuaCore\canBuild.lua:207: in local 'postProcessParameters'
N:\CIV2 TOT\1_OVERLORDS 1940\LuaCore\canBuild.lua:240: in upvalue 'postProcessParameterTable'
N:\CIV2 TOT\1_OVERLORDS 1940\LuaCore\canBuild.lua:323: in function 'canBuild.supplyUnitTypeParameters'
...TOT\1_OVERLORDS 1940\LuaRulesEvents\canBuildSettings.lua:385: in main chunk
[C]: in function 'require'
N:\CIV2 TOT\1_OVERLORDS 1940\events.lua:35: in main chunk
The co-ords on line 180 (USA cities) all seem OK, this latest bug brings up something I wished to ask:
Here is line 180:
local USAHomeCities = {{160,92,0},{175,21,0},{183,27,0},{188,56,0},{189,47,0},{190,62,0},{192,66,0},
The zero after the two co-ords, should this zero instead be the map zone? These would be then zone 4 and 57...
EG:
local USAHomeCities = {{160,92,57},{175,21,4},{183,27,4},{188,56,4},{189,47,4},{190,62,4},{192,66,4},
I am barking up the wrong tree here?