mirror of
https://github.com/cliffe/BreakEscape.git
synced 2026-02-21 11:18:08 +00:00
- Added event emissions for NPC interactions in core game systems: - Unlock System: door_unlocked, item_unlocked, door_unlock_attempt - Interactions System: object_interacted - Inventory System: item_picked_up:* - Minigame Framework: minigame_completed, minigame_failed - Created event-triggered reactions for the helper NPC: - Added knots for lockpick pickup, success, failure, door unlock, and object interaction. - Implemented state tracking and context-aware responses. - Updated event mappings in scenario JSON for the helper NPC to respond to various events. - Fixed global variable references in event emission code to ensure proper event dispatching. - Added debug logging to verify event emissions and NPC reactions. - Documented implementation details and testing instructions for new features.