I have recently implemented a complete rework of the tech tree in a scenario I have been cobbling together for a while now. I partially used a tool, IndieStoneTechEditor, for the code generation, but basically most techs were deleted and a host of new ones added in. I removed the final three eras as well. Anyway, when I or any other player founds a city including the capital, the game crashes right away. Lua.log sends me to Database.log, which says: Code: [1454847.500] near " ": syntax error [1454847.500] In Query - select * from Technology_PrereqTechs where and no other unexpected errors. I'll attach it below. What is driving me crazy is what that syntax error means. Am I looking for a pair of quotes ( " " ) or misplaced whitespace, or some hidden character? I can supply other files, but I wouldn't know where to start. I would greatly appreciate any suggestions or points of view - I just can't let myself stare at this anymore.