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
|
|
@ -35,6 +35,8 @@ class Exploration(BaseModule):
|
|||
self.send_message(channel, f"{nickname}: {encounter['message']}")
|
||||
elif encounter["type"] == "empty":
|
||||
self.send_message(channel, f"🔍 {nickname}: {encounter['message']}")
|
||||
elif encounter["type"] == "item_found":
|
||||
self.send_message(channel, f"{nickname}: {encounter['message']}")
|
||||
elif encounter["type"] == "encounter":
|
||||
# Store the encounter for potential catching
|
||||
self.bot.active_encounters[player["id"]] = encounter["pet"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue