Goal: I wanted to restrict farms to be on or next to wheat, rice, and maize. This is impossible with the hard coded requirements.
Solution: In the database, I define and require a new terrain called "Farmland." I define the requirements I want in LUA, and when they are met, I set the terrain...
For posterity:
I was looking at the log files in Documents (which are no longer updated). You need to look in the log files in AppData/Local/FiraxisGames/...
With the right logs, I saw: [Gameplay] ERROR: no such function: POWER. This function does not exist in SQLite.
sqliteonline.com...
I am trying to create an exponential increase in production based on population size. I tested the following code with https://sqliteonline.com/ and it produces the expected table with the expected values. However, the rest of the mod (that updates the database with this code) fails. My...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.