Skip to content

feat: Quest Journal Decorator Integration (Prompt Pair)#417

Open
Gerkinfeltser wants to merge 1 commit into
MinLL:mainfrom
Gerkinfeltser:feature/quest-journal
Open

feat: Quest Journal Decorator Integration (Prompt Pair)#417
Gerkinfeltser wants to merge 1 commit into
MinLL:mainfrom
Gerkinfeltser:feature/quest-journal

Conversation

@Gerkinfeltser
Copy link
Copy Markdown
Contributor

Paired with Gerkinfeltser/SkyrimNet#816 (quest journal decorator integration) — merge together for full functionality.

Problem

The existing quest decorators return raw engine data with unresolved tokens (<Alias=...>, <Global=...>), making quest objectives unreadable in LLM prompts. A new get_quest_journal() decorator is being added to the main DLL that resolves these tokens and provides journal body text.

Solution

Adds the 0610_party_quests.prompt template that uses get_quest_journal() to render resolved quest journal content in character bios.

Changes

SKSE/Plugins/SkyrimNet/prompts/submodules/character_bio/0610_party_quests.prompt (new file, 42 lines)

  • Uses get_quest_journal() to get fully resolved quest data
  • Cross-references get_selected_quests() with get_quest_journal() for tracked quests
  • Main quests: resolved quest name, journal narrative text, displayed objectives with [DONE] markers
  • Misc tasks: flat list of displayed non-completed objectives
  • Inactive section (disabled by default): quests in player's questLog with journal text
  • Configurable via show_misc_tasks and show_inactive_quests template variables
  • Modified from prompt originally by jykej

Dependency

Requires the SkyrimNet DLL with the quest journal decorator registered (paired PR above). Without it, get_quest_journal() returns an empty array and the template falls back to "No active quests currently tracked."

Example Output

## Active Quests
(Quests remain available indefinitely unless explicitly stated otherwise.)

**Dampened Spirits**
Now that Mallus's position as the owner of Honningbrew Meadery has been secured, I need to find any information explaining how Sabjorn was able to fund this costly operation.
- Speak to Maven Black-Briar [DONE]
- Speak to Mallus Maccius at the Bannered Mare in Whiterun [DONE]
- Search Sabjorn's dresser for information about his silent partner

**Balance of Power**
I spoke to Ri'saad, the traveling caravan merchant, about trouble along the road. He handed me a note that has more details.
- Read Ri'saad's note

### Misc. Tasks
- Learn more about the Thieves Guild from Delvin
- Get 3 flawless amethysts for Talen-Jei (0/3)
- Return the Honningbrew Decanter to Delvin

@Gerkinfeltser Gerkinfeltser changed the title Quest Journal Decorator Integration (Prompt Pair) feat: Quest Journal Decorator Integration (Prompt Pair) May 29, 2026
Comment thread SKSE/Plugins/SkyrimNet/prompts/submodules/character_bio/0610_party_quests.prompt Outdated
{% for jq in journal %}{% if jq.editorID == quest.editorID %}
{% if jq.journalText and not jq.isMisc %}
**{{ jq.questName }}**
{{ jq.journalText }}
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Overall looks good. One thought; I think we're going to have duplicate journal objectives in some of our existing templates (player thoughts maybe?); Do a pass to ensure that this is the only source of quest info. Also - I don't have the game booted, but please

@Gerkinfeltser Gerkinfeltser force-pushed the feature/quest-journal branch from 7a39df3 to bcdd6cc Compare May 29, 2026 13:09
@Gerkinfeltser Gerkinfeltser marked this pull request as draft May 29, 2026 13:13
@Gerkinfeltser Gerkinfeltser marked this pull request as ready for review May 29, 2026 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants