Files
BreakEscape/js
Z. Cliffe Schreuders 1f5c9e29e8 feat: Add influence tag system with visual feedback for all NPC conversations
Influence Tags System:
- Add #rapport_gained/lost:X tags for Dr. Chen throughout all conversations
- Add #respect_gained/lost:X tags for Director Netherton
- Add #friendship_gained/lost:X tags for Haxolottle
- Tags automatically added after every relationship variable change
- Small changes (±2-5) for minor interactions
- Medium changes (±5-10) for meaningful moments
- Large changes (±10-15) for major trust/betrayal moments

Conversation Handler Updates:
- PersonChatConversation: Add handleInfluenceGained/Lost methods
- PhoneChatConversation: Add tag processing support
- Dispatch 'npc-influence-change' events for UI layer
- Context-appropriate messages based on NPC type and amount

Documentation:
- Create INK_BEST_PRACTICES.md with comprehensive patterns
  - Hub architecture and mission_hub pattern
  - Influence tags system with examples
  - External functions reference
  - Variable persistence patterns
  - Common ink patterns and anti-patterns
  - Complete checklists for new NPC content
- Update NPC_HUB_ARCHITECTURE.md
  - Document mission_hub pattern implementation
  - Document influence tags system
  - Add navigation support requirements
  - Cross-reference best practices

Files Modified:
- All ongoing_conversations.ink files (chen, netherton, haxolottle)
- All hub.ink files (chen, netherton, haxolottle)
- PersonChatConversation.js - influence tag handlers
- PhoneChatConversation.js - influence tag handlers (stub)
- Compiled JSON files regenerated

This provides players with immediate visual feedback for relationship
changes and gives writers a clear pattern to follow for all NPC content.
2025-11-19 13:44:30 +00:00
..
2025-11-14 19:47:54 +00:00
2025-11-14 19:47:54 +00:00
2025-11-14 19:47:54 +00:00