How to change values in table in Civ5CoreDatabase.db? Is it possibile to execute SQL UPDATE command from LUA script?
I don't know why DB.Query("UPDATE Defines SET Value = 4 WHERE Name = 'CITY_ATTACK_RANGE'"); doesn't work.
There is no information about any errors in LiveTuner but if you check db in SQLiteSpy or other tool, value of CITY_ATTACK_RANGE' is still 2. Why? Did Firaxis block it?
SQL syntax is ok for sure, it works if you execute it from SQLiteSpy.
I don't know why DB.Query("UPDATE Defines SET Value = 4 WHERE Name = 'CITY_ATTACK_RANGE'"); doesn't work.
There is no information about any errors in LiveTuner but if you check db in SQLiteSpy or other tool, value of CITY_ATTACK_RANGE' is still 2. Why? Did Firaxis block it?
SQL syntax is ok for sure, it works if you execute it from SQLiteSpy.