mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-01 18:13:29 +00:00
cdecdc5fa5
## Description: This feature adds a troop count bar into the PlayerInfoOverlay that visualizes how many troops a player/nation has, how big of an attack they are sending, and in general the percentages of their overall troop count. I originally added the toggling of this feature as a setting but thought it might be too narrow to need it's own setting. Would appreciate anyone's thoughts on adding it back in or not. Inspired by [this comment](https://discord.com/channels/1359946986937258015/1359949371956789289/1452559404401430674) in the Dev Discord. ### Video Demo https://github.com/user-attachments/assets/4a4397f7-c0a1-475a-867d-ef00b57661c4 ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced ## Please put your Discord username so you can be contacted if a bug or regression is found: bijx