I'm trying to understand, you have 1.26 culture and the game display a rounded-up value with a round(culture,1) making it 1.3 is that what this is about ? or am I missing something else?
CULTURE_PERCENTAGE_YIELD_PER_POP is a global parameter that has been always 30, since the launch.
Unless OP has a mod, then the correct values are: +1 from Palace, +0,3 from Population and on top of that 5% * 1,3 = 0,065 Total = 1,365 which should be rounded to 1,4.
The issues:
- tooltip shows 0.2 from pop not 0.3 - no idea how is it even possible to get 0,2 when you do math like 30 * 1 / 100 - because this is how engine most likely works
- the value in the toolbar shows 1,3 which most likely comes not from rounding but from using math.floor or similar function.
- tooltip shows 0 instead 0,1 for amenities - which suggests that again math.floor was use, not a proper rounding.
- the city value is 1.4 - which is actually correct - but it doesn't match the values from the tooltip - because this value and the tooltip are actually 2 different Lua functions => 2 different DLL functions; apparently only City values uses the proper rounding method
In summary - this situation should be given an award in a category "highest number of issues in a smallest feature"
@Toofou I spent some time tracking those discrepancies when I was developing Better Report Screen. If you wanna see correct value, then use my mod. The Yields tab shows the correctly calculated and rounded values.