longturn / freeciv21

Develop your civilization from humble roots to a global empire
GNU General Public License v3.0
222 stars 42 forks source link

Display uk_happy in city's Supported units #934

Open ec429 opened 2 years ago

ec429 commented 2 years ago

Is your feature request related to a problem? Please describe. Currently, the "Supported units" box in the city UI displays each unit's upkeep in food/shields/gold, but not happiness, making it harder to see where military unhappiness is coming from.

Describe the solution you'd like Add the happiness upkeep to the box, both in the mouseover text and graphically with the upkeep.unhappy# icons.

Describe alternatives you've considered ???

Additional context

jwrober commented 2 years ago

Is this resolved in PR #1213 ?

ec429 commented 2 years ago

Not really; afaict that only displays the total uk_happy for the city — it doesn't indicate which units it's coming from.

jwrober commented 1 year ago

May be related to #1859 and #1873