Fix team builder issues, Added startup import checks for consistency

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
megaproxy 2025-07-14 21:48:18 +01:00
parent 08f7aa8ea8
commit 39ba55832d
5 changed files with 192 additions and 60 deletions

View file

@ -529,6 +529,10 @@ class GameEngine:
"""Check for new achievements after player actions"""
return await self.database.check_player_achievements(player_id, action_type, data)
async def check_all_achievements(self, player_id: int):
"""Check and award ALL possible achievements for a player"""
return await self.database.check_all_achievements(player_id)
async def get_weather_modified_spawns(self, location_id: int, spawns: list) -> list:
"""Apply weather modifiers to spawn rates"""
weather = await self.database.get_location_weather(location_id)