mirror of
https://github.com/cliffe/BreakEscape.git
synced 2026-02-21 19:28:03 +00:00
BREAKING CHANGE: Unified relationship variable naming Old System (Per-NPC Variables): - Dr. Chen: npc_chen_rapport with #rapport_gained/lost tags - Director Netherton: npc_netherton_respect with #respect_gained/lost tags - Haxolottle: npc_haxolottle_friendship_level with #friendship_gained/lost tags New System (Unified Influence): - Dr. Chen: npc_chen_influence with #influence_gained/lost tags - Director Netherton: npc_netherton_influence with #influence_gained/lost tags - Haxolottle: npc_haxolottle_influence with #influence_gained/lost tags Benefits: - Consistent scoring system across all NPCs - Simpler to understand and balance - Unified tag system (#influence_gained/lost) - Messages still customized per NPC based on their personality Files Changed: - dr_chen_ongoing_conversations.ink: rapport → influence - chen_hub.ink: rapport → influence - netherton_ongoing_conversations.ink: respect → influence - netherton_hub.ink: respect → influence - haxolottle_ongoing_conversations.ink: friendship_level → influence - haxolottle_hub.ink: friendship_level → influence - PersonChatConversation.js: Updated getInfluenceMessage() for unified system - Now detects NPC ID and provides appropriate messages - Supports legacy tag names for backward compatibility - INK_BEST_PRACTICES.md: Updated all examples and documentation - Variable naming conventions - Tag system documentation - All code examples - NPC-specific sections - NPC_HUB_ARCHITECTURE.md: Updated influence system documentation - Recompiled all hub JSON files Messages by NPC: - Dr. Chen: "Dr. Chen appreciates that" / "Dr. Chen is disappointed" - Netherton: "Director Netherton approves" / "Director Netherton is displeased" - Haxolottle: "Haxolottle likes that" / "Haxolottle seems disappointed" All files compile successfully with unified influence system.