mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-13 03:32:28 -04:00
New MCP tool: world_scan - Casts rays in 360 degrees using VMAP collision data - Detects walls, obstacles, room boundaries - Detects all creatures in range with relative positions - Generates ASCII art visualization How it works: 1. Binary search ray casting using isInLineOfSight() 2. VMAP provides wall/building geometry 3. Nearby creatures enumerated with GetCreatureListInGrid() 4. ASCII map shows @ (you), # (walls), letters (creatures) Example output: +---------------------+ | ####### | | # S # | | # @> # | | # D # | | ########### | +---------------------+ No player action needed - AI calls world_scan directly! This gives me spatial awareness of your environment!