Living World, Scenes & Lore
Elthoria's living world simulation (elthoria-world-simulation-*) runs a deterministic, explainable campaign world alongside your table sessions: factions maneuver, rumors propagate, travel takes real weeks, story threads surface playable candidates, and every world fact can be traced back to its causal derivation in the historical world graph.
TIP
Looking for the underlying schemas and lifecycle? Read Living World Architecture & Entity Hierarchy, Persistent NPC Architecture, Attributes & Lifecycle, Agent Reasoning & Decision-Making Deep Dive, and ANTLR Map DSLs & World Simulator Data Format.
World simulation lifecycle & inspection (WorldSimMcpTools)
Bootstrap & world advancement
| Tool | Purpose |
|---|---|
preview_world_sim_seed | Preview how a world seed will project factions, settlements, and initial entities before creating it |
create_world_sim | Create a persistent world simulation for a campaign (supports blank_canvas: true for manual building) |
set_primary_world | Bind a world simulation as the campaign's primary living world |
advance_world_week | Advance deterministic simulation time by one week — consequences become canon only after success (note: timed background advancement is disabled by the launcher so time only moves when play calls for it) |
run_sim_command | Execute a targeted simulation command directly |
get_world_settings / update_world_settings | Inspect or adjust simulation rule weights and settings |
Inspecting living state (start with get_world_sim_overview)
| Tool | What it returns |
|---|---|
get_world_sim_overview | Top-level summary: current week, season, realm stability, chaos factor, and headline pressures |
get_world_latest_week | Digest of everything that happened during the most recent simulated week |
get_world_atlas / get_world_place_profile | Regions, settlements, points of interest, and detailed place profiles |
get_world_social_directory / get_world_network / get_intrigue_graph | Agents, factions, relationship edges, and intrigue/conspiracy structures |
get_world_conflicts / get_world_predicaments | Active pressure signals, faction conflicts, and regional predicaments |
get_world_decisions / get_world_threads | Open decisions and active story threads |
get_world_rumors | Current rumor feed (with provenance and distortion) |
get_world_chronology / get_world_event_log | Durable historical timeline: deaths, fallen party members, razed towns, treaties |
get_world_scenes | Active and queued world scenes |
get_world_sim_artifacts / get_world_sim_artifact / get_world_sim_plans | Persisted simulation artifacts and faction/agent plans |
explain_world_fact | Causal explanation / derivation trail for why a world fact holds |
query_historical_world_graph / get_world_sim_unified_graph_archive | Query historical graph state or inspect the unified graph archive |
Party travel, entities, lore & quest hooks
| Tool | Purpose |
|---|---|
get_party_travel / plan_party_travel / cancel_party_travel | Inspect, schedule, or cancel multi-week overland party travel |
list_world_entities / add_world_entity / update_world_entity / remove_world_entity | Manage simulated entities (factions, NPCs, settlements, relics) |
get_npc_world_context / apply_npc_personal_event | Inspect an NPC's living-world context or apply a personal turning-point event |
report_world_event | Commit a player-caused event from table play back into the living simulation |
validate_narration | Check drafted GM narration against authoritative world facts before speaking |
generate_quest_hooks / materialize_quest_hook | Generate grounded quest hooks from current pressures and materialize chosen hooks into canon |
get_world_lore_workspace / ingest_world_lore / validate_lore_constraints / resolve_lore_constraint | Ingest setting lore, detect contradictions against world state, and resolve lore constraints explicitly |
generate_world_scene_map / generate_world_scene_grid | Materialize a world scene into a map or tactical grid |
Deterministic story candidates & counterfactual preview (WorldNarrativeMcpTools)
Rather than having an LLM hallucinate plot hooks disconnected from simulation state, WorldNarrativeMcpTools exposes a deterministic candidate-and-preview pipeline:
| Tool | Purpose |
|---|---|
get_world_story_candidates | List deterministic, player-safe available actions, events, quests, and thread advancements |
explain_world_story_candidate | Explain why one candidate is available using only its grounded facts |
preview_world_story_choice | Clone the living simulation in isolation and run a candidate choice forward to preview its consequences without mutating canon |
prepare_world_story_realization | Build a strict JSON realization envelope so a secondary LLM can rewrite prose without altering mechanical facts |
realize_world_story_candidate | Ask an optional secondary Kompile chat model to turn one authoritative candidate into player-facing prose |
choose_world_story_candidate | Commit an explicitly chosen, still-current story candidate into canon |
reject_world_story_candidate | Record that the players declined a possibility (without retracting graph facts) |
Promoting campaign NPCs into world agents (NpcAgentMcpTools)
Bridge tactical/sheet NPCs (NpcMcpTools) into autonomous living-world actors:
| Tool | Purpose |
|---|---|
register_npc_agent | Promote a campaign NPC into the world simulation with an agent type, party disposition, and goal |
list_npc_agents | List all NPCs promoted to simulated world agents |
update_npc_agent | Update disposition, goal, agent type, or enabled status (syncs live into running simulations) |
remove_npc_agent | Retire an NPC agent from the simulation |
SceneExperience & optional media cues (SceneExperienceMcpTools, MediaAssetMcpTools)
| Tool | Purpose |
|---|---|
get_integration_manifest | Describe versioned SceneExperience, event, media, REST, and MCP capabilities for integration clients |
get_scene_experiences | Read the stable SceneExperience contract used by Play and Studio (turns, consequences, optional media cues) |
list_media_providers | List configured providers able to satisfy scene media cues |
generate_scene_media | Request optional media for a scene cue (returns completed=false gracefully if no provider is configured, never blocking play) |
list_media_assets | List provider-neutral media references scoped by scene_id and cue_id |
Campaigns, journals & keyword Lorebooks (JournalMcpTools, LorebookMcpTools)
Campaigns & session journals
| Tool | Purpose |
|---|---|
create_game / list_games / get_game | Create an empty local campaign (create_game returns id to use as campaign_id; it does not auto-select an active campaign), list games, or inspect acts |
create_journal_entry | Persist a typed entry (GENERAL, SESSION_NOTES, QUEST, NPC_NOTES, LOCATION, CHARACTER_BACKGROUND, NPC_BACKGROUND, PLOT) linked to game, act, character, NPC, or location |
get_journal_entry / list_journal_entries / get_game_journal_entries | Read and filter journal entries |
update_journal_entry / delete_journal_entry / search_journal | Edit, remove, or full-text search campaign journals |
Keyword-triggered Lorebooks (World Info)
| Tool | Purpose |
|---|---|
create_lorebook / list_lorebooks / get_lorebook | Manage scoped Lorebooks (GLOBAL, CAMPAIGN, CHARACTER, CHAT_SESSION) |
create_lorebook_entry / update_lorebook_entry / delete_lorebook_entry | Define keyword-triggered lore entries supporting regex, case sensitivity, AND/NOT secondary keys, probability, sticky, cooldown, delay, and inclusion groups |
search_lorebook_entries | Search entries by trigger keyword, content, or GM comment |
get_activated_entries | Test which Lorebook entries activate for recent conversation text (with exact content, position, and insertion order) so the external GM stays consistent with world lore |
See Walkthrough 3: Living World, Oracle & Custom Tables, Walkthrough 5: Rulebooks, Lorebooks & Content Workbench, and the Memory Deep Dive.