NE v1.6.20
NE v1.6.20
Welcome to Narrative Engine v1.6.20! This release brings major systems overhauls, including a brand new Loot Engine, fully realized NPC Agency, NPC Knowledge mapping, and robust UI/performance tuning.
🎒 Manual-MVP Loot Engine
- Loot Tables (
loot.json): Integrated a structured loot definition list. - Pre-roll Modals: Roll and preview item rewards directly before committing them to the ledger.
- Interactive Tagging: Generates structured item tags for the GM storyteller LLM.
👥 NPC Agency & Evolution
- Proximity Heartbeat: Off-screen tick engine simulates NPC activity based on geography, faction, and relationships.
- Relationship Dial & Affinity: Tracks and updates NPC affinity levels dynamically.
- Inner Repression & Masking: Allows NPCs to hide hostile or friendly feelings behind outward social masks.
🧠 NPC Omniscience Cage (Knowledge System)
- Knowledge Isolation: Keeps track of exactly what each NPC does and doesn't know.
- Similarity Checking: Extracts facts/lore dynamically to prevent NPCs from acting on player-exclusive information.
- Compendium UI: Added interface to inspect and audit known facts per NPC.
🖼️ Scene Illustration & Portrait Gallery
- Dynamic Generation: Prompts scene illustrations and NPC portraits in multiple artistic styles.
- Gallery Tab: Integrated a persistent Gallery viewer directly inside the context drawer.
⚡ Performance & Cache Optimization
- Stable Prompt Caching: Optimized prompt construction for high cache-hit rates, including telemetry reporting for DeepSeek cache hits.
- Low-Memory Embedding Pool: Restructured background embedding workers (debounced scheduler, idle timeouts, pool caps) to prevent OOM crashes on low-spec mobile devices.
- Zustand Memoization: Substantially reduced React render loops on critical chat bubbles.
🛠️ UX & Quality of Life
- De-cluttered Header: Transitioned to an optimized 4-icon header layout with a custom quick dial panel.
- Safe-area Aware Layout: Native safe-area padding adjustments.
- Emoji / Symbol Fallback: Added system fallbacks to eradicate tofu characters.
- Cleaned Combat Remnants: Removed legacy native combat slices to focus on rich, narrative-driven roleplaying.