Add complete item collection system (v0.2.0)
🎒 Item Collection System: - 16 unique items across 5 categories (healing, battle, rare, location, special) - Rarity tiers: Common, Uncommon, Rare, Epic, Legendary with symbols - 30% chance to find items during exploration - Location-specific items (shells, mushrooms, crystals, runes) - Inventory management with \!inventory and \!use commands - Web interface integration showing player inventories - Consumable items: healing potions, battle boosters, lucky charms 🔧 Technical Updates: - Added items and player_inventory database tables - New Inventory module for item management - Updated game engine with item discovery system - Enhanced web interface with inventory display - Item initialization from config/items.json 🆕 New Commands: - \!inventory / \!inv / \!items - View collected items by category - \!use <item name> - Use consumable items on active pets 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
e0edcb391a
commit
db144da24f
13 changed files with 952 additions and 22 deletions
43
README.md
43
README.md
|
|
@ -10,6 +10,7 @@ A feature-rich IRC bot that brings Pokemon-style pet collecting and battling to
|
|||
- **Battle System**: Engage in turn-based battles with wild pets
|
||||
- **Team Management**: Activate/deactivate pets, swap team members
|
||||
- **Achievement System**: Unlock new areas by completing challenges
|
||||
- **Item Collection**: Discover and collect useful items during exploration
|
||||
|
||||
### Advanced Systems
|
||||
- **Dynamic Weather**: Real-time weather system affecting spawn rates
|
||||
|
|
@ -17,6 +18,7 @@ A feature-rich IRC bot that brings Pokemon-style pet collecting and battling to
|
|||
- **Location-Based Spawns**: Different pets spawn in different locations
|
||||
- **Level Progression**: Pets gain experience and level up
|
||||
- **Type Effectiveness**: Strategic battle system with type advantages
|
||||
- **Item System**: 16+ unique items with rarity tiers and special effects
|
||||
|
||||
### Technical Features
|
||||
- **Modular Architecture**: Clean, extensible codebase
|
||||
|
|
@ -78,6 +80,10 @@ A feature-rich IRC bot that brings Pokemon-style pet collecting and battling to
|
|||
- `!deactivate <pet>` - Move a pet to storage
|
||||
- `!swap <pet1> <pet2>` - Swap two pets' active status
|
||||
|
||||
### Inventory Commands
|
||||
- `!inventory` / `!inv` / `!items` - View your collected items
|
||||
- `!use <item>` - Use a consumable item on your active pet
|
||||
|
||||
## 🌍 Locations
|
||||
|
||||
### Available Areas
|
||||
|
|
@ -112,10 +118,31 @@ Locations are unlocked by completing achievements:
|
|||
- Location-specific weather patterns
|
||||
- Real-time spawn rate modifications
|
||||
|
||||
## 🎒 Item System
|
||||
|
||||
### Item Categories
|
||||
- **🩹 Healing Items**: Restore pet HP (Small/Large/Super Potions, Energy Berries)
|
||||
- **⚔️ Battle Items**: Temporary combat boosts (Attack Boosters, Defense Crystals, Speed Elixirs)
|
||||
- **💎 Rare Items**: Special materials (Fire/Water Stones, Lucky Charms, Ancient Fossils)
|
||||
- **🏛️ Location Items**: Area-specific treasures (Shells, Mushrooms, Volcanic Glass, Ice Crystals)
|
||||
|
||||
### Rarity Tiers
|
||||
- **○ Common**: Frequently found items (15% spawn rate)
|
||||
- **◇ Uncommon**: Moderately rare items (8-12% spawn rate)
|
||||
- **◆ Rare**: Valuable items (3-6% spawn rate)
|
||||
- **★ Epic**: Very rare items (2-3% spawn rate)
|
||||
- **✦ Legendary**: Ultra-rare items (1% spawn rate)
|
||||
|
||||
### Item Discovery
|
||||
- 30% chance to find items during `!explore`
|
||||
- Location-specific items only spawn in certain areas
|
||||
- Items stack in inventory with quantity tracking
|
||||
- Use consumable items with `!use <item name>`
|
||||
|
||||
## 🌐 Web Interface
|
||||
|
||||
Access the web dashboard at `http://localhost:8080/`:
|
||||
- **Player Profiles**: Complete stats and pet collections
|
||||
- **Player Profiles**: Complete stats, pet collections, and inventories
|
||||
- **Leaderboard**: Top players by level and achievements
|
||||
- **Locations Guide**: All areas with spawn information
|
||||
- **Help System**: Complete command reference
|
||||
|
|
@ -139,13 +166,19 @@ Access the web dashboard at `http://localhost:8080/`:
|
|||
|
||||
## 🐛 Recent Updates
|
||||
|
||||
### Weather System Enhancement
|
||||
### v0.2.0 - Item Collection System
|
||||
- ✅ Complete item system with 16 unique items across 5 categories
|
||||
- ✅ Item discovery during exploration (30% chance)
|
||||
- ✅ Rarity tiers with symbols and colors (Common → Legendary)
|
||||
- ✅ Location-specific unique items and treasures
|
||||
- ✅ Inventory management with `!inventory` and `!use` commands
|
||||
- ✅ Web interface integration showing player inventories
|
||||
- ✅ Consumable items (healing potions, battle boosters, lucky charms)
|
||||
|
||||
### v0.1.0 - Core Game & Weather System
|
||||
- ✅ Added background task for automatic weather updates
|
||||
- ✅ Changed weather durations from 2-6 hours to 30min-3hours
|
||||
- ✅ Implemented continuous weather coverage
|
||||
- ✅ Added graceful shutdown handling
|
||||
|
||||
### Bug Fixes
|
||||
- ✅ Fixed database persistence on bot restart
|
||||
- ✅ Resolved individual player pages showing 'not found'
|
||||
- ✅ Corrected achievement count displays
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue