34aca29082
- Add persistent 💤 emoji over sleeping NPCs (tracks sprite position) - Buffer history events (inventions, narration, stockpile) in SocketClient to fix race condition where data arrived before GameScene handlers registered - Fix NPCs getting stuck on 'gather' goal: tree trunks are both obstacles and resource tiles, so pathfinding always failed. Now findNearestResource returns adjacent walkable tiles for non-walkable resources, and gatheringSystem checks adjacent tiles. Added wander fallback when pathfinding to any gather target fails. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>