Joan
dfea27f9cb
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
2025-10-20 12:44:16 +02:00
Joan
39f3be6980
Restore Python 3 type hints and f-strings in utils.py
...
- Add type hints to create_progress_bar() and format_stat_bar()
- Add type hints to admin_only() decorator and is_admin()
- Use f-strings for logging (Python 3.11 compatible)
- Improves code readability and IDE support
2025-10-19 00:34:12 +02:00
Joan
861f3b8a36
Add visual progress bars and refactor handler modules
...
- Implement visual HP/Stamina/XP bars using Unicode characters (██░)
- Refactor handlers.py (1308 → 377 lines) into specialized modules:
* action_handlers.py - World interaction and status display
* inventory_handlers.py - Inventory management
* combat_handlers.py - Combat actions
* profile_handlers.py - Character stats with visual bars
* corpse_handlers.py - Looting system
* pickup_handlers.py - Item collection
- Add utility functions: create_progress_bar(), format_stat_bar()
- Organize all documentation into docs/ structure
- Create comprehensive documentation index with navigation
- Add UI examples showing before/after visual improvements
2025-10-19 00:23:44 +02:00
Joan
3ab412bc09
Initial commit: Echoes of the Ashes - Telegram RPG Bot
2025-10-18 19:21:19 +02:00