CivilizationAce
Warlord
- Joined
- Jan 17, 2017
- Messages
- 240
I have a new mod that provides a bonus percentage to production of certain buildings, which brings me to the following:
I'd like my bonus percentage to be listed after (or before, I'm not fussy) the "+5% (+0.5) from Amenities" when the user hovers their mouse over the total production amount and to show in the total.
As far as I can tell none of the effects of MODIFIER_PLAYER_CITIES_ADJUST_BUILDING_PRODUCTION display in this manner.
I doubt that it's going to be simple to rectify that, as the effect itself, EFFECT_ADJUST_BUILDING_PRODUCTION, is outside our reach, but does anyone know if the result is exposed in some way we can read with Lua?
Spoiler :
I'd like my bonus percentage to be listed after (or before, I'm not fussy) the "+5% (+0.5) from Amenities" when the user hovers their mouse over the total production amount and to show in the total.
As far as I can tell none of the effects of MODIFIER_PLAYER_CITIES_ADJUST_BUILDING_PRODUCTION display in this manner.
I doubt that it's going to be simple to rectify that, as the effect itself, EFFECT_ADJUST_BUILDING_PRODUCTION, is outside our reach, but does anyone know if the result is exposed in some way we can read with Lua?