Adding to Faith based on Production

j_civ

Chieftain
Joined
Jan 22, 2021
Messages
1
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.
 
Back
Top Bottom