Hello there,
I want to create a new leader, and as part of his unique ability, every city shall get +1 food and production for every city state he is the suzerain of. The only modifiers I could find that change a yield based on how many city states you control are MODIFIER_PLAYER_ADJUST_YIELD_MODIFIER_PER_TRIBUTARY and MODIFIER_PLAYER_ADJUST_YIELD_CHANGE_PER_TRIBUTARY. However, I think that they only work on global yields such as science and culture, not on local yields such as food and production.
I think I have to use lua to get this to work. Can someone help me with that? I couldn't find any lua function to add a modifier to a city or otherwise change a yield, and I couldn't find an event fired when the suzerain of a city state changes either.
Thank you in advance,
Starjon
I want to create a new leader, and as part of his unique ability, every city shall get +1 food and production for every city state he is the suzerain of. The only modifiers I could find that change a yield based on how many city states you control are MODIFIER_PLAYER_ADJUST_YIELD_MODIFIER_PER_TRIBUTARY and MODIFIER_PLAYER_ADJUST_YIELD_CHANGE_PER_TRIBUTARY. However, I think that they only work on global yields such as science and culture, not on local yields such as food and production.
I think I have to use lua to get this to work. Can someone help me with that? I couldn't find any lua function to add a modifier to a city or otherwise change a yield, and I couldn't find an event fired when the suzerain of a city state changes either.
Thank you in advance,
Starjon