Skip to main content

Module narrative

Module narrative 

Source
Expand description

Procedural narrative engine.

Story grammars, character motivations, dialogue generation, quest generation, drama management, consequence tracking, NPC memory, unreliable narrators, procedural poetry, and lore generation.

Modules§

consequences
Consequence tracking — player actions create ripples through the narrative.
dialogue
Dialogue generation — context-sensitive dialogue from character state.
drama
Drama management — pacing system using narrative arc templates.
lore
Lore generation — create histories, myths, and cultural artifacts from simulation data.
memory
NPC memory system — NPCs remember player actions and reference them.
motivation
Character motivation engine — goals, beliefs, desires as utility functions.
poetry
Procedural poetry and song — generated verse with meter and rhyme. Uses mathematical patterns like Fibonacci syllable counts.
quest
Quest generation — objective chains from world state and motivations.
story_grammar
Story grammar system — generate plot structures from narrative grammars.