Hi y'all,
My goal is to make all cities gain Faith equal to 50% of that city's production.
Now I understand that I can add to the city's yield by using MODIFIER_PLAYER_CITIES_ADJUST_CITY_YIELD_CHANGE, but I don't know how I would even begin to use/create variables for the cities' production and how to use Lua to keep them updated. Any idea on how I would even begin? My mod files are all in SQLite btw.
My goal is to make all cities gain Faith equal to 50% of that city's production.
Now I understand that I can add to the city's yield by using MODIFIER_PLAYER_CITIES_ADJUST_CITY_YIELD_CHANGE, but I don't know how I would even begin to use/create variables for the cities' production and how to use Lua to keep them updated. Any idea on how I would even begin? My mod files are all in SQLite btw.