Petbot/config
megaproxy 72c1098a22 Implement comprehensive pet healing system with revive items and database support
- Add Revive (50% HP) and Max Revive (100% HP) items to config/items.json
- Extend database schema with fainted_at timestamp for pets table
- Add last_heal_time column to players table for heal command cooldown
- Implement comprehensive pet healing database methods:
  - get_fainted_pets(): Retrieve all fainted pets for a player
  - revive_pet(): Restore fainted pet with specified HP
  - faint_pet(): Mark pet as fainted with timestamp
  - get_pets_for_auto_recovery(): Find pets eligible for 30-minute auto-recovery
  - auto_recover_pet(): Automatically restore pet to 1 HP
  - get_active_pets(): Get active pets excluding fainted ones
  - get_player_pets(): Enhanced to filter out fainted pets when active_only=True
- Update inventory module to handle revive and max_revive effects
- Add proper error handling for cases where no fainted pets exist
- Maintain case-insensitive item usage compatibility

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-16 11:32:01 +00:00
..
achievements.json Fix achievement progression by moving Whispering Woods unlock 2025-07-14 11:46:35 +01:00
backup_config.json Implement comprehensive rate limiting system and item spawn configuration 2025-07-15 20:10:43 +00:00
gyms.json Implement gym battle system with location-based challenges 2025-07-14 12:36:40 +01:00
items.json Implement comprehensive pet healing system with revive items and database support 2025-07-16 11:32:01 +00:00
locations.json Add comprehensive startup script validation and enhanced pet system 2025-07-16 00:17:54 +00:00
moves.json Initial commit: Complete PetBot IRC Game 2025-07-13 23:57:39 +01:00
pets.json Add comprehensive startup script validation and enhanced pet system 2025-07-16 00:17:54 +00:00
settings.example.json Initial commit: Complete PetBot IRC Game 2025-07-13 23:57:39 +01:00
types.json Initial commit: Complete PetBot IRC Game 2025-07-13 23:57:39 +01:00
weather_patterns.json Implement comprehensive team builder configuration system 2025-07-15 22:40:23 +00:00