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
|
|
@ -10,7 +10,7 @@ sys.path.append(os.path.dirname(os.path.abspath(__file__)))
|
|||
|
||||
from src.database import Database
|
||||
from src.game_engine import GameEngine
|
||||
from modules import CoreCommands, Exploration, BattleSystem, PetManagement, Achievements, Admin
|
||||
from modules import CoreCommands, Exploration, BattleSystem, PetManagement, Achievements, Admin, Inventory
|
||||
from webserver import PetBotWebServer
|
||||
|
||||
class PetBotDebug:
|
||||
|
|
@ -69,7 +69,8 @@ class PetBotDebug:
|
|||
BattleSystem,
|
||||
PetManagement,
|
||||
Achievements,
|
||||
Admin
|
||||
Admin,
|
||||
Inventory
|
||||
]
|
||||
|
||||
self.modules = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue