Initial commit: Complete PetBot IRC Game
🎮 Features implemented: - Pokemon-style pet collection and battles - Multi-location exploration system - Dynamic weather with background updates - Achievement system with location unlocks - Web dashboard for player stats - Modular command system - Async database with SQLite - PM flood prevention - Persistent player data 🌤️ Weather System: - 6 weather types with spawn modifiers - 30min-3hour dynamic durations - Background task for automatic updates - Location-specific weather patterns 🐛 Recent Bug Fixes: - Database persistence on restart - Player page SQLite row conversion - Achievement count calculations - Travel requirement messages - Battle move color coding - Locations page display 🔧 Generated with Claude Code 🤖 Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
commit
47f160a295
31 changed files with 6235 additions and 0 deletions
48
config/weather_patterns.json
Normal file
48
config/weather_patterns.json
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
{
|
||||
"weather_types": {
|
||||
"Sunny": {
|
||||
"description": "Bright sunshine increases Fire and Grass-type spawns",
|
||||
"spawn_modifier": 1.5,
|
||||
"affected_types": ["Fire", "Grass"],
|
||||
"duration_minutes": [60, 120]
|
||||
},
|
||||
"Rainy": {
|
||||
"description": "Heavy rain boosts Water-type spawns significantly",
|
||||
"spawn_modifier": 2.0,
|
||||
"affected_types": ["Water"],
|
||||
"duration_minutes": [45, 90]
|
||||
},
|
||||
"Thunderstorm": {
|
||||
"description": "Electric storms double Electric-type spawn rates",
|
||||
"spawn_modifier": 2.0,
|
||||
"affected_types": ["Electric"],
|
||||
"duration_minutes": [30, 60]
|
||||
},
|
||||
"Blizzard": {
|
||||
"description": "Harsh snowstorm increases Ice and Water-type spawns",
|
||||
"spawn_modifier": 1.7,
|
||||
"affected_types": ["Ice", "Water"],
|
||||
"duration_minutes": [60, 120]
|
||||
},
|
||||
"Earthquake": {
|
||||
"description": "Ground tremors bring Rock-type pets to the surface",
|
||||
"spawn_modifier": 1.8,
|
||||
"affected_types": ["Rock"],
|
||||
"duration_minutes": [30, 90]
|
||||
},
|
||||
"Calm": {
|
||||
"description": "Perfect weather with normal spawn rates",
|
||||
"spawn_modifier": 1.0,
|
||||
"affected_types": [],
|
||||
"duration_minutes": [90, 180]
|
||||
}
|
||||
},
|
||||
"location_weather_chances": {
|
||||
"Starter Town": ["Sunny", "Calm", "Rainy"],
|
||||
"Whispering Woods": ["Sunny", "Rainy", "Calm"],
|
||||
"Electric Canyon": ["Thunderstorm", "Sunny", "Calm"],
|
||||
"Crystal Caves": ["Earthquake", "Calm"],
|
||||
"Frozen Tundra": ["Blizzard", "Calm"],
|
||||
"Dragon's Peak": ["Thunderstorm", "Sunny", "Calm"]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue