diff --git a/modules/exploration.py b/modules/exploration.py index 0b1c865..368bc3b 100644 --- a/modules/exploration.py +++ b/modules/exploration.py @@ -60,7 +60,27 @@ class Exploration(BaseModule): if not player: return - destination = " ".join(args).title() # Normalize to Title Case + # Handle various input formats and normalize location names + destination_input = " ".join(args).lower() + + # Map common variations to exact location names + location_mappings = { + "starter town": "Starter Town", + "whispering woods": "Whispering Woods", + "electric canyon": "Electric Canyon", + "crystal caves": "Crystal Caves", + "frozen tundra": "Frozen Tundra", + "dragon's peak": "Dragon's Peak", + "dragons peak": "Dragon's Peak", + "dragon peak": "Dragon's Peak", + "dragons-peak": "Dragon's Peak" + } + + destination = location_mappings.get(destination_input) + if not destination: + # Fall back to title case if no mapping found + destination = " ".join(args).title() + location = await self.database.get_location_by_name(destination) if not location: