UI/UX: Improve visual clarity and consistency
- Align status bars with label padding (HP, Stamina, XP) - Add clear combat turn indicators (YOUR TURN / ENEMY TURN) - Display HP/Stamina bars in inventory menu and usage - Add consistent separators between sections - Improve feedback for item usage with visible stat changes Files modified: - bot/utils.py: Added label_width parameter to format_stat_bar() - bot/combat.py: Turn headers and separators - bot/inventory_handlers.py: HP/Stamina display - bot/action_handlers.py: Separator placement fix See docs/development/UI_UX_IMPROVEMENTS.md for details
This commit is contained in:
@@ -50,7 +50,8 @@ async def get_player_status_text(telegram_id: int) -> str:
|
||||
if equipped_items:
|
||||
status += f"⚔️ <b>Equipped:</b> {', '.join(equipped_items)}\n"
|
||||
|
||||
status += f"━━━━━━━━━━━━━━━━━━━━\n<i>{location.description}</i>"
|
||||
status += "━━━━━━━━━━━━━━━━━━━━\n"
|
||||
status += f"<i>{location.description}</i>"
|
||||
return status
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user