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:
megaproxy 2025-07-14 00:19:57 +01:00
parent e0edcb391a
commit db144da24f
13 changed files with 952 additions and 22 deletions

View file

@ -5,6 +5,40 @@ All notable changes to PetBot IRC Game will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [v0.2.0] - 2025-07-13
### 🎒 Item Collection System
- **Complete Item System** - 16 unique items across 5 categories
- **Item Discovery** - 30% chance to find items during exploration
- **Rarity Tiers** - Common, Uncommon, Rare, Epic, Legendary with symbols
- **Location-Specific Items** - Unique treasures in each area
- **Inventory Management** - `!inventory` and `!use` commands
- **Consumable Items** - Healing potions, battle boosters, lucky charms
- **Web Integration** - Player inventories displayed on profile pages
### 🎯 New Items Added
- **Healing Items**: Small/Large/Super Potions, Energy Berries
- **Battle Items**: Attack Boosters, Defense Crystals, Speed Elixirs
- **Rare Items**: Fire/Water Stones, Lucky Charms, Ancient Fossils
- **Location Items**: Pristine Shells, Glowing Mushrooms, Volcanic Glass, Ice Crystals, Ancient Runes
### 🆕 New Commands
- `!inventory` / `!inv` / `!items` - View collected items by category
- `!use <item name>` - Use consumable items on active pets
### 🔧 Technical Updates
- **Database Schema** - Added `items` and `player_inventory` tables
- **Game Engine** - Integrated item discovery with exploration system
- **Web Interface** - Added inventory section to player profiles with rarity colors
- **Module System** - New Inventory module for item management
### 🎨 Visual Enhancements
- **Rarity Symbols** - ○ ◇ ◆ ★ ✦ for different item tiers
- **Color-Coded Items** - Web interface shows items with rarity-specific colors
- **Category Organization** - Items grouped by type in inventory display
---
## [v0.1.0] - 2025-07-13
### 🎮 Major Features Added